Post Variable and API Reference
Introduction
This topic contains the reference for all posting variables and API calls used in post processor modification and scripting.
Post Command Variables
The following section of variables are the overall posting engine variables to modify the output of the posted code.
Command Variables
Mill Job |
Turn off automatic debug comments in post output |
Lathe Job |
|
Mill Turn Job |
Mill Job |
Turn on automatic debug comments in post output |
Lathe Job |
|
Mill Turn Job |
Mill Job |
Set add spaces back to condition before force_no_add_spaces was called. |
Lathe Job |
|
Mill Turn Job |
Mill Job |
Force the Z value for drilling to be output next time even if modal. |
Lathe Job |
|
Mill Turn Job |
Mill Job |
Force no spaces even when default is set to add spaces. |
Lathe Job |
|
Mill Turn Job |
Mill Job |
Force the X value to be output next time even if modal. It needs to be called before the X axis output variable. |
Lathe Job |
|
Mill Turn Job |
Mill Job |
Force the Y value to be output next time even if modal. It needs to be called before the Y axis output variable |
Lathe Job |
|
Mill Turn Job |
Mill Job |
Force the Z value to be output next time even if modal. It needs to be called before the Z axis output variable |
Lathe Job |
|
Mill Turn Job |
Mill Job |
Memorize sequence number for use later with the memorized_line_number variable. |
Lathe Job |
|
Mill Turn Job |
Mill Job |
Use memorized sequence number. |
Lathe Job |
|
Mill Turn Job |
Mill Job |
Use new position variables and Misc. variables. |
Lathe Job |
|
Mill Turn Job |
Mill Job |
Use old position variables and Misc. variables. |
Lathe Job |
|
Mill Turn Job |
Mill Job |
Add block delete to all lines until stop_add_block_delete variable is used. |
Lathe Job |
|
Mill Turn Job |
Mill Job |
Stop adding block delete characters that were started from using start_add_block_delete variable. |
Lathe Job |
|
Mill Turn Job |
Mill Job |
Signals the output of the tool list |
Mill Turn Job |
Lathe Job |
Signals the output of the tool list. |
output_stock-_definition |
|
Mill Job |
Signals the output of the stock definition |
Mill Turn Job |
Misc Characters
Mill Job |
Outputs the carriage return and line feed characters on the line. |
Lathe Job |
|
Mill Turn Job |
Mill Job |
Outputs the single quote character. |
Lathe Job |
|
Mill Turn Job |
Mill Job |
Outputs the double quote character. |
Lathe Job |
|
Mill Turn Job |
Mill Job |
Outputs any Unicode character. The xx can be a decimal, octal, and hexadecimal value of the Unicode character. If using a decimal value do not use the prefix 0 as it will be treated as octal value.
For example, use charout_39 to output apostrophe. Here 39 is the decimal value used for the apostrophe. If specifying as hexadecimal value , then the format should be charout_0x27 to output the apostrophe.
Use this Wiki link as reference to see the decimal, octal, and hexadecimal codes for different Unicode characters.
Further explanation on the usage of this Post variable is found under the description section of the Post question 228 (Support Unicode Output? ) that is used to set the Posting engine to support the unicode characters or not.
|
Lathe Job |
|
Mill Turn Job |
Mill Job |
Outputs spaces in the code. The number of spaces output is determined by the number of digits of the previous line number. |
Lathe Job |
|
Mill Turn Job |
Post Variables
The following is a list of all the available post variables to be utilized in the system.
Mill Job |
Outputs code to set the coordinates output to absolute mode defined by post question :620 |
Mill Turn Job |
Mill Job |
Outputs the string value defined in post question: 621 and sets the output mode to incremental. |
Mill Turn Job |
Mill Job |
Outputs the string value defined in post question: 614 and sets the output mode to Inch. |
Mill Turn Job |
Mill Job |
Outputs the string value defined in post question: 615 and sets the output mode to Metric. |
Mill Turn Job |
Mill Job |
Output length offset register with prefix. Prefix defined on post question: 688
|
Lathe Job |
|
Mill Turn Job |
Mill Job |
Output the part height with prefix from post question: 648
|
Mill Turn Job |
Mill Job |
Output the part length with NO prefix.
|
Mill Turn Job |
Mill Job |
Output the part width with NO prefix.
|
Mill Turn Job |
Part Setup
Mill Job |
Outputs the work coordinate string value based on the selected work offset. Maximum work offsets are defined by post question: 258. Work offset string values are assigned for each work offset starting at post question: 900 and go through post question 999.
API: short MILL_GetWorkCoordNumber() short MILLTURN_GetWorkCoordNumber() |
Mill Turn Job |
Mill Job |
Outputs the work coordinate string value for a specific work coordinate. Work offset string values are assigned for each work offset starting a post question: 900 and go through post question 999.
API: short MILL_GetWorkCoordNumberCode(int) short MILLTURN_GetWorkCoordNumberCode(int) int=1 through 99 Example: var = MILL_GetWorkCoordNumberCode(1) |
Mill Turn Job |
Lathe Job |
Returns the clearance value for the face of the part defined in the machine setup. Prefix is defined on post question: 1886
API: double LATHE_GetClearanceFace() |
Mill Turn Job |
Lathe Job |
Returns the clearance value for the diameter of the part defined in the machine setup. Prefix is defined on post question: 1887
API: double LATHE_GetClearanceDiameter() |
Mill Turn Job |
Lathe Job |
Returns the clearance value from the internal diameter of the part, defined in the machine setup. The prefix is defined on post question: 1888.
|
Mill Turn Job |
Positioning
Mill Job |
Returns the X axis rapid location with the prefix defined by post question: 684
|
Lathe Job |
|
Mill Turn Job |
Returns the X axis rapid location with the prefix defined by the post mapping section of the post processor. The devices have their prefixes defined based on DeviceID. The prefix mapping blocks are 5000 through 5049 for absolute, and 5050 through 5099 for incremental. If prefix is not defined in prefix mapping blocks, then prefix from post question 684 will be used.
API: double MILL_GetXRapid() double LATHE_GetXRapid() |
Mill Job |
Returns the Y axis rapid location with the prefix defined by post question: 685
|
Lathe Job |
|
Mill Turn Job |
Returns the Y axis rapid location with the prefix defined by the post mapping section of the post processor. The devices have their prefixes defined based on DeviceID. The prefix mapping blocks are 5000 through 5049 for absolute, and 5050 through 5099 for incremental. If prefix is not defined in prefix mapping blocks, then prefix from post question 685 will be used.
API: double MILL_GetYRapid() double LATHE_GetYRapid() |
Mill Job |
Returns the Z axis rapid location with the prefix defined by post question: 686
|
Lathe Job |
|
Mill Turn Job |
Returns the Z axis rapid location with the prefix defined by the post mapping section of the post processor.
The devices have their prefixes defined based on DeviceID. The prefix mapping blocks are 5000 through 5049 for absolute, and 5050 through 5099 for incremental. If prefix is not defined in prefix mapping blocks, then prefix from post question 686 will be used.
API: double MILL_GetZRapid() double LATHE_GetZRapid() |
Mill Job |
Sets the current rapid location for the X axis using a double variable
|
Mill Turn Job |
Lathe Job |
Sets the current rapid location for the X axis using a double variable
|
Mill Turn Job |
Mill Job |
Sets the current rapid location for the Y axis using a double variable
|
Mill Turn Job |
Lathe Job |
Sets the current rapid location for the Z axis using a double variable
|
Mill Turn Job |
Mill Job |
Outputs the first X position of the operation based on the previous operation Move list coordinates mode. If its first operation, outputs coordinates as No Machine Compensation mode. Prefix is defined in the post question 684.
NOTE - To be ideally used in start, tool change, null tool change, 30& 31 blocks and useful in cases where coordinates output should not be in TCP before calling to turn on TCP
API : GetDoubleOfPostVariable(“variable_name”) |
Mill Turn Job |
Mill Job |
Outputs the first Y position of the operation based on the previous operation Move list coordinates mode. If its first operation, outputs coordinates as No Machine Compensation mode. Prefix is defined in the post question 685.
NOTE - To be ideally used in start, tool change, null tool change, 30 & 31 blocks and useful in cases where coordinates output should not be in TCP before calling to turn on TCP
API: GetDoubleOfPostVariable(“variable_name”) |
Mill Turn Job |
Mill Job |
Outputs the first Z position of the operation based on the previous operation Move list coordinates mode. If its first operation, outputs coordinates as No Machine Compensation mode. Prefix is defined in the post question 686.
NOTE - To be ideally used in start, tool change, null tool change, 30 & 31 blocks and useful in cases where coordinates output should not be in TCP before calling to turn on TCP
API: GetDoubleOfPostVariable(“variable_name”) |
Mill Turn Job |
Mill Job |
Outputs the first X position of the operation in No Machine Compensation Move list coordinates mode. Prefix is defined in the post question 684.
NOTE - To be ideally used in start, tool change, null tool change, 30 & 31 blocks and useful in cases where coordinates output should not be in TCP before calling to turn on TCP
API: GetDoubleOfPostVariable(“variable_name”) |
Mill Turn Job |
Mill Job |
Outputs the first Y position of the operation in No Machine Compensation Move list coordinates mode. Prefix is defined in the post question 685.
NOTE - To be ideally used in start, tool change, null tool change, 30 & 31 blocks and useful in cases where coordinates output should not be in TCP before calling to turn on TCP
API: GetDoubleOfPostVariable(“variable_name”) |
Mill Turn Job |
Mill Job |
Outputs the first Z position of the operation in No Machine Compensation Move list coordinates mode. Prefix is defined in the post question 686.
NOTE - To be ideally used in start, tool change, null tool change, 30 & 31 blocks and useful in cases where coordinates output should not be in TCP before calling to turn on TCP
API: GetDoubleOfPostVariable(“variable_name”) |
Mill Turn Job |
Mill Job |
Outputs the first X position of the operation in Machine Compensation in Z only Move list coordinates mode. Prefix is defined in the post question 684.
NOTE - To be ideally used in start, tool change, null tool change, 30 & 31 blocks and useful in cases where coordinates output should not be in TCP before calling to turn on TCP
API: GetDoubleOfPostVariable(“variable_name”) |
Mill Turn Job |
Mill Job |
Outputs the first Y position of the operation in Machine Compensation in Z only Move list coordinates mode. Prefix is defined in the post question 685.
NOTE - To be ideally used in start, tool change, null tool change, 30 & 31 blocks and useful in cases where coordinates output should not be in TCP before calling to turn on TCP
API: GetDoubleOfPostVariable(“variable_name”) |
Mill Turn Job |
Mill Job |
Outputs the first Z position of the operation in Machine Compensation in Z only Move list coordinates mode. Prefix is defined in the post question 686.
NOTE - To be ideally used in start, tool change, null tool change, 30 & 31 blocks and useful in cases where coordinates output should not be in TCP before calling to turn on TCP
API: GetDoubleOfPostVariable(“variable_name”) |
Mill Turn Job |
Mill Job |
Outputs the first X position of the operation in Machine Hybrid Compensation(Mixed Mode) Move list coordinates mode. Prefix is defined in the post question 684.
NOTE - To be ideally used in start, tool change, null tool change, 30 & 31 blocks and useful in cases where coordinates output should not be in TCP before calling to turn on TCP
API: GetDoubleOfPostVariable(“variable_name”)
|
Mill Turn Job |
Mill Job |
Outputs the first Y position of the operation in Machine Hybrid Compensation(Mixed Mode) Move list coordinates mode. Prefix is defined in the post question 685.
NOTE - To be ideally used in start, tool change, null tool change, 30 & 31 blocks and useful in cases where coordinates output should not be in TCP before calling to turn on TCP
API: GetDoubleOfPostVariable(“variable_name”)
|
Mill Turn Job |
Mill Job |
Outputs the first Z position of the operation in Machine Hybrid Compensation(Mixed Mode) Move list coordinates mode. Prefix is defined in the post question 686.
NOTE - To be ideally used in start, tool change, null tool change, 30 & 31 blocks and useful in cases where coordinates output should not be in TCP before calling to turn on TCP
API: GetDoubleOfPostVariable(“variable_name”)
|
Mill Turn Job |
Mill Job |
Outputs the first X position of the operation in Part Based (Common for TCP) Move list coordinates mode. Prefix is defined in the post question 684.
API: GetDoubleOfPostVariable(“variable_name”)
|
Mill Turn Job |
Mill Job |
Outputs the first Y position of the operation in Part Based (Common for TCP) Move list coordinates mode. Prefix is defined in the post question 685.
API: GetDoubleOfPostVariable(“variable_name”)
|
Mill Turn Job |
Mill Job |
Outputs the first Z position of the operation in Part Based (Common for TCP) Move list coordinates mode. Prefix is defined in the post question 686.
API: GetDoubleOfPostVariable(“variable_name”)
|
Mill Turn Job |
Mill Job |
Outputs the first X position of the operation in Origin Tracking Move list coordinates mode. Prefix is defined in the post question 684.
API: GetDoubleOfPostVariable(“variable_name”)
|
Mill Turn Job |
Mill Job |
Outputs the first Y position of the operation in Origin Tracking Move list coordinates mode. Prefix is defined in the post question 685.
API: GetDoubleOfPostVariable(“variable_name”)
|
Mill Turn Job |
Mill Job |
Outputs the first Z position of the operation in Origin Tracking Move list coordinates mode. Prefix is defined in the post question 686.
API: GetDoubleOfPostVariable(“variable_name”)
|
Mill Turn Job |
Mill Job |
Updates modality with the new position but does not output the position to the NC file. |
Lathe Job |
|
Mill Turn Job |
Mill Job |
Updates modality with the new position but does not output the position to the NC file. |
Lathe Job |
|
Mill Turn Job |
Mill Job |
Updates modality with the new position but does not output the position to the NC file. |
Lathe Job |
|
Mill Turn Job |
Mill Job |
Updates modality with the new position but does not output the position to the NC file. |
Lathe Job |
|
Mill Turn Job |
Mill Job |
Updates modality with the new position but does not output the position to the NC file. |
Lathe Job |
|
Mill Turn Job |
Mill Job |
Updates modality with the new position but does not output the position to the NC file. |
Lathe Job |
|
Mill Turn Job |
Lathe Job |
Returns the X axis home position with the prefix defined by the post question 684. The value comes from the X Home position defined in the operations Rapids page.
API: double LATHE_GetXHome() |
Mill Turn Job |
Returns the X axis home position with the prefix for Lathe features only. Milling features currently do not have any parameters to set this value. The value for Lathe features come from the X Home position defined in the operations Rapids page.
The prefix is defined by the post mapping section of the post processor. The devices have their prefixes defined based on DeviceID. The prefix mapping blocks are 5000 through 5049 for absolute, and 5050 through 5099 for incremental. If prefix is not defined in prefix mapping blocks, then prefix from post question 684 will be used.
API: double LATHE_GetXHome() |
Mill Job |
N/A |
Lathe Job |
|
Mill Turn Job |
Lathe Job |
Returns the Z axis home position with the prefix defined by the post question 686. The value comes from the Z Home position defined in the operations Rapids page.
API: double LATHE_GetZHome() |
Mill Turn Job |
Returns the Z axis home position with the prefix for Lathe features only. Milling features currently do not have any parameters to set this value. The value for Lathe features come from the Z Home position defined in the operations Rapids page.
The devices have their prefixes defined based on DeviceID. The prefix mapping blocks are 5000 through 5049 for absolute, and 5050 through 5099 for incremental. If prefix is not defined in prefix mapping blocks, then prefix from post question 686 will be used.
API: double LATHE_GetZHome() |
Mill Job |
Returns the value of the previous X axis feed move. Rapid moves are not included. Prefix comes from the post question:684
|
Lathe Job
|
|
Mill Turn Job |
Returns the value of the previous X axis feed move. Rapid moves are not included.
The prefix is defined by the post mapping section of the post processor. The devices have their prefixes defined based on DeviceID. The prefix mapping blocks are 5000 through 5049 for absolute, and 5050 through 5099 for incremental. If prefix is not defined in prefix mapping blocks, then prefix from post question 684 will be used.
API: double MILLTURN_GetPreviousXFeed() |
Mill Job |
Returns the value of the previous Y axis feed move. Rapid moves are not included. Prefix comes from the post question: 685
|
Mill Turn Job |
Returns the value of the previous Y axis feed move. Rapid moves are not included.
The prefix is defined by the post mapping section of the post processor. The devices have their prefixes defined based on DeviceID. The prefix mapping blocks are 5000 through 5049 for absolute, and 5050 through 5099 for incremental. If prefix is not defined in prefix mapping blocks, then prefix from post question 685 will be used.
API: double MILLTURN_GetPreviousYFeed() |
Mill Job |
Returns the value of the previous Z axis feed move. Rapid moves are not included. Prefix comes from the post question: 686
|
Lathe Job
|
|
Mill Turn Job |
Returns the value of the previous Z axis feed move. Rapid moves are not included.
The prefix is defined by the post mapping section of the post processor. The devices have their prefixes defined based on DeviceID. The prefix mapping blocks are 5000 through 5049 for absolute, and 5050 through 5099 for incremental. If prefix is not defined in prefix mapping blocks, then prefix from post question 686 will be used.
API: double MILLTURN_GetPreviousZFeed() |
Mill Job |
Returns the value of the current X axis feed move. Prefix comes from the post question: 684
|
Lathe Job
|
|
Mill Turn Job |
Returns the value of the current X axis feed move.
The prefix is defined by the post mapping section of the post processor. The devices have their prefixes defined based on DeviceID. The prefix mapping blocks are 5000 through 5049 for absolute, and 5050 through 5099 for incremental. If prefix is not defined in prefix mapping blocks, then prefix from post question 684 will be used.
API: double MILLTURN_GetXFeed() |
Mill Job |
Returns the value of the current Y axis feed move. Prefix comes from the post question: 685
|
Lathe Job
|
|
Mill Turn Job |
Returns the value of the current Y axis feed move.
The prefix is defined by the post mapping section of the post processor. The devices have their prefixes defined based on DeviceID. The prefix mapping blocks are 5000 through 5049 for absolute, and 5050 through 5099 for incremental. If prefix is not defined in prefix mapping blocks, then prefix from post question 685 will be used.
API: double MILLTURN_GetYFeed() |
Mill Job |
Returns the value of the current Z axis feed move. Prefix comes from the post question: 686
|
Lathe Job
|
|
Mill Turn Job |
Returns the value of the current Z axis feed move.
The prefix is defined by the post mapping section of the post processor. The devices have their prefixes defined based on DeviceID. The prefix mapping blocks are 5000 through 5049 for absolute, and 5050 through 5099 for incremental. If prefix is not defined in prefix mapping blocks, then prefix from post question 686 will be used.
API: double MILLTURN_GetZFeed() |
Lathe Job
|
Sets the X axis home position.
|
Mill Turn Job |
Lathe Job
|
Sets the Z axis home position.
|
Mill Turn Job |
Lathe Job
|
Returns the X axis home position.
|
Mill Turn Job |
Lathe Job
|
Returns the Z axis home position.
|
Mill Turn Job |
Lathe Job
|
Sets the Z axis pickup value.
|
Mill Turn Job |
Lathe Job
|
Returns the Z axis pickup value.
|
Mill Turn Job |
Lathe Job
|
Sets the previous feed location for the X axis using a double variable.
|
Mill Turn Job |
Lathe Job
|
Sets the previous feed location for the Z axis using a double variable.
|
Mill Turn Job |
rapid_to_pickup_z |
|
Lathe Job
|
Outputs a "G0" code with a Z axis position move that uses the prefix defined on post question: 686. This is used for the stock handling feature. |
Mill Turn Job |
Outputs a “G0” code with a Z axis position move. This is used for the stock handling feature.
The prefix is defined by the post mapping section of the post processor. The devices have their prefixes defined based on DeviceID. The prefix mapping blocks are 5000 through 5049 for absolute, and 5050 through 5099 for incremental.
|
rapid_to_position_x |
|
Lathe Job
|
Outputs a "G0" code with a X axis position move that uses the prefix defined on post question: 684. This is used for the stock handling feature. |
Mill Turn Job |
Outputs a “G0” code with a X axis position move. This is used for the stock handling feature.
The prefix is defined by the post mapping section of the post processor. The devices have their prefixes defined based on DeviceID. The prefix mapping blocks are 5000 through 5049 for absolute, and 5050 through 5099 for incremental.
|
rapid_to_position_z |
|
Lathe Job
|
Outputs a "G0" code with a Z axis position move that uses the prefix defined on post question: 686. This is used for the stock handling feature. |
Mill Turn Job |
Outputs a “G0” code with a Z axis position move. This is used for the stock handling feature.
The prefix is defined by the post mapping section of the post processor. The devices have their prefixes defined based on DeviceID. The prefix mapping blocks are 5000 through 5049 for absolute, and 5050 through 5099 for incremental.
|
rapid_to_stock_feed_z |
|
Lathe Job
|
Outputs a "G0" code with a Z axis position move that uses the prefix defined on post question: 686. This is used for the stock handling feature. |
Mill Turn Job |
Outputs a “G0” code with a Z axis position move. This is used for the stock handling feature.
The prefix is defined by the post mapping section of the post processor. The devices have their prefixes defined based on DeviceID. The prefix mapping blocks are 5000 through 5049 for absolute, and 5050 through 5099 for incremental.
|
Lathe Job
|
Outputs a "G0" code with a Z axis position move that uses the prefix defined on post question: 686. |
Mill Turn Job |
Outputs a “G0” code with a Z axis position move.
The prefix is defined by the post mapping section of the post processor. The devices have their prefixes defined based on DeviceID. The prefix mapping blocks are 5000 through 5049 for absolute, and 5050 through 5099 for incremental.
|
Lathe Job
|
Outputs a "G0" code with a Z axis position move that uses the prefix defined on post question: 686. |
Mill Turn Job |
Outputs a “G0” code with a Z axis position move.
The prefix is defined by the post mapping section of the post processor. The devices have their prefixes defined based on DeviceID. The prefix mapping blocks are 5000 through 5049 for absolute, and 5050 through 5099 for incremental.
|
Lathe Job
|
Outputs a "G0" code with a X axis position move that uses the prefix defined on post question: 684. |
Mill Turn Job |
Outputs a “G0” code with a X axis position move.
The prefix is defined by the post mapping section of the post processor. The devices have their prefixes defined based on DeviceID. The prefix mapping blocks are 5000 through 5049 for absolute, and 5050 through 5099 for incremental.
|
Lathe Job
|
Outputs a "G0" code with a X axis position move that uses the prefix defined on post question: 684. |
Mill Turn Job |
Outputs a “G0” code with a X axis position move.
The prefix is defined by the post mapping section of the post processor. The devices have their prefixes defined based on DeviceID. The prefix mapping blocks are 5000 through 5049 for absolute, and 5050 through 5099 for incremental.
|
Mill Job |
output_rotary_angle - This calls block 10 which is used to add a prefix and output the rotary_angle variable. |
Mill Turn Job |
This calls block 10 which is used to add a prefix and output the primary_rotary_angle_output variable.
|
output_secondary_rotary_index (legacy = output_second_rotary_angle) |
|
Mill Job |
output_second_rotary_angle - This calls block 17 which is used to add a prefix and output the second_rotary_angle variable. |
Mill Turn Job |
This calls block 17 which is used to add a prefix and output the output_second_rotary_angle_output variable.
|
Mill Job |
rotary_angle - This outputs the rotation angle for the primary axis. The prefix is defined on post question: 722
API: double MILL_GetRotaryAngle() |
Mill Turn Job |
Outputs the rotation angle for the primary rotary axis. The prefix is defined on post question: 722
The prefix is defined by the post mapping section of the post processor. The devices have their prefixes defined based on DeviceID. The prefix mapping blocks are 5000 through 5049 for absolute, and 5050 through 5099 for incremental.
API: double MILLTURN_GetPrimaryRotaryAngleOutput() |
secondary_rotary_angle_output (legacy = second_rotary_angle) |
|
Mill Job |
second_rotary_angle - This outputs the rotation angle for the primary axis. The prefix is defined on post question: 723
API: double MILL_GetSecondRotaryAngleOutput() |
Mill Turn Job |
Outputs the rotation angle for the primary rotary axis. The prefix is defined on post question: 723
The prefix is defined by the post mapping section of the post processor. The devices have their prefixes defined based on DeviceID. The prefix mapping blocks are 5000 through 5049 for absolute, and 5050 through 5099 for incremental.
API: double MILLTURN_GetSecondaryRotaryAngleOutput() |
Mill Job |
rotary_dir – This outputs the code to define the rotation direction of the primary rotation axis. The codes for CW and CCW are defined on post questions: 710(CW) and 711(CCW).
API: short MILL_PRotDirection()
|
Mill Turn Job |
This outputs the code to define the rotation direction of the primary rotation axis. The codes for CW and CCW are defined on post questions: 1xx22 and 1xx23 for workpiece devices and 2xx16 and 2xx17 for toolpiece devices.
API: Use Mill API call. |
Mill Job |
second_rotary_dir – This outputs the code to define the rotation direction of the secondary rotation axis. The codes for CW and CCW are defined on post questions: 712(CW) and 713(CCW).
API: short MILL_SRotDirection()
|
Mill Turn Job |
This outputs the code to define the rotation direction of the secondary rotation axis. The codes for CW and CCW are defined on post questions: 1xx22 and 1xx23 for workpiece devices and 2xx16 and 2xx17 for toolpiece devices.
API: Use Mill API call. |
Mill Job |
This outputs the primary rotation axis angle value for rotary and 5 axis motion. The output is formatted with the prefix defined on post question: 722
API: double MILL_Get_PRot() |
Mill Turn Job |
This outputs the primary rotation axis angle value for rotary and 5 axis motion. The output is formatted with the prefix defined on post question: 722
The prefix is defined by the post mapping section of the post processor. The devices have their prefixes defined based on DeviceID. The prefix mapping blocks are 5000 through 5049 for absolute, and 5050 through 5099 for incremental.
API: Use Mill API call. |
Mill Job |
This outputs the primary rotation axis angle value for rotary and 5 axis motion. |
Mill Job |
This outputs the secondary rotation axis angle value for rotary and 5 axis motion. The output is formatted with the prefix defined on post question: 723
API: double MILL_Get_SRot() |
Mill Turn Job |
This outputs the secondary rotation axis angle value for rotary and 5 axis motion. The output is formatted with the prefix defined on post question: 723
The prefix is defined by the post mapping section of the post processor. The devices have their prefixes defined based on DeviceID. The prefix mapping blocks are 5000 through 5049 for absolute, and 5050 through 5099 for incremental.
API: Use Mill API call. |
Mill Turn Job |
This outputs the primary rotation axis angle value for rotary and 5 axis motion. The output is formatted with the prefix defined on post question: 722 |
Mill Job |
This outputs the initial primary rotation axis angle value for rotary and 5 axis motion. The output is formatted with the prefix defined on post question: 722
API: GetDoubleOfPostVariable(“variable_name”) |
Mill Turn Job |
Mill Job |
This outputs the initial secondary rotation axis angle value for rotary and 5 axis motion. The output is formatted with the prefix defined on post question: 723
API: GetDoubleOfPostVariable(“variable_name”) |
Mill Turn Job |
Mill Job |
This outputs the initial tertiary rotation axis angle value for rotary and 5 axis motion. The output is formatted with the prefix defined on post question: 724
API: GetDoubleOfPostVariable(“variable_name”) |
Mill Turn Job |
Mill Job |
Forces the primary rotary axis value to output regardless of modality |
Mill Turn Job |
Mill Job |
Forces the secondary rotary axis value to output regardless of modality |
Mill Turn Job |
Mill Job |
Updates modality with the new position but does not output the position to the NC file. |
Lathe Job |
|
Mill Turn Job |
Mill Job |
Updates modality with the new position but does not output the position to the NC file. |
Lathe Job |
|
Mill Turn Job |
Mill Job |
Outputs the string value to enable the rotary axis clamp on the primary rotation axis. The string value is defined on post question: 716
|
Mill Job |
Outputs the string value to disable the rotary axis clamp on the primary rotation axis. The string value is defined on post question:717
|
Mill Job |
Outputs the string value to enable the rotary axis clamp on the secondary rotation axis. The string value is defined on post question: 718
|
Mill Job |
Outputs the string value to disable the rotary axis clamp on the secondary rotation axis. The string value is defined on post question: 719
|
Mill Turn Job |
This variable is referred to as a Smart Variable. Each Workpiece device has post questions that define the brake codes for ON/OFF.
Workpiece Device Post Questions: 10x05 - String - ON 10x06 - String - Auto ON 10x07 - String - OFF
When this variable is otput from Lathe postblocks, the posting engine will output the active workpiece's OFF code.
When this variable is output from a milling postblock, the posting engine will output the ON code for indexing operations, and will output OFF for simultaneous 4 and 5 axis motion.
API: string MILLTURN_GetWorkpieceDeviceBrake() |
Mill Turn Job |
This variable will output the ON command for the previously active Workpiece device.
NOTE: See workpiece_device_brake for more details.
API: string MILLTURN_GetPrvWorkpieceDeviceBrakeOFF() |
Mill Turn Job |
This variable will output the ON command for the active Workpiece device.
Each Workpiece device has post questions that define the brake codes for On and Off.
Workpiece Device Post Questions: 10x05 - String - ON 10x06 - String - Auto ON 10x07 - String - OFF
API: string MILLTURN_GetWorkpieceDeviceBrakeON() |
Mill Turn Job |
This variable will output the Auto ON command for the active Workpiece device.
10x05 - String - ON 10x06 - String - Auto ON 10x07 - String - OFF
API: string MILLTURN_GetWorkpieceDeviceAutoBrakeON() |
Mill Turn Job |
This variable will output the OFF command for the active Workpiece device.
10x05 - String - ON 10x06 - String - Auto ON 10x07 - String - OFF
API: string MILLTURN_GetWorkpieceDeviceBrakeOFF() |
Mill Turn Job |
This variable is referred to as a Smart variable. Each Tool device has post questions that define the brake codes for On and Off.
Tool Device Post Questions: 10x05 - String - ON 10x06 - String - Auto ON 10x07 - String - OFF
When this variable is output from Lathe postblocks the posting engine will output the active Tool device OFF code.
When this variable is output from a milling postblock the posting engine will output the ON code for Indexing operations and will output OFF for simultaneous 4 axis or 5 axis motion.
API: string MILLTURN_GetToolDeviceBrake() |
Mill Turn Job |
This variable will output the OFF command from the previously active Tool device. See tool_device_brake for more details.
API: string MILLTURN_GetPrvToolDeviceBrakeOFF() |
Mill Turn Job |
This variable will output the ON command for the active Tool device.
Each Tool device has post questions that define the brake codes for On and Off.
Tool Device Post Questions: 20x07 – String - ON 20x08 – String – Auto ON 20x09 – String – OFF
API: string MILLTURN_GetToolDeviceBrakeON() |
Mill Turn Job |
This variable will output the Auto ON command for the active Tool device.
Each Tool device has post questions that define the brake codes for On and Off.
Tool Device Post Questions: 20x07 – String - ON 20x08 – String – Auto ON 20x09 – String – OFF
API: string MILLTURN_GetToolDeviceAutoBrakeON() |
Mill Turn Job |
This variable will output the OFF command for the active Tool device.
Each Tool device has post questions that define the brake codes for On and Off.
Tool Device Post Questions: 20x07 – String - ON 20x08 – String – Auto ON 20x09 – String – OFF
API: string MILLTURN_GetToolDeviceBrakeOFF() |
Mill Job |
This outputs either the X or Y axis position for wrapping toolpaths. Based on the wrapping axis the prefix is defined by post question: 684 for the X axis and post question: 685 for the Y axis.
API: double MILL_GetRotaryXYFeedMove() |
Mill Turn Job |
This outputs the linear axis position for wrapping toolpaths.
The prefix is defined by the post mapping section of the post processor. The devices have their prefixes defined based on DeviceID. The prefix mapping blocks are 5000 through 5049 for absolute, and 5050 through 5099 for incremental.
API: double MILLTURN_GetRotaryXYFeedMove() |
Mill Job |
Outputs the rotation angle from wrapping blocks using the prefix defined on post |
Mill Job |
Outputs the rotation angle from wrapping blocks using the prefix defined on post |
Mill Job |
Outputs the rotation angle from wrapping blocks using the prefix defined on post question: 690 for X axis wrapping and post question 694 for Y axis wrapping. |
Mill Turn Job |
This variable has been replaced by p_rot and s_rot variables. |
Mill Job |
Outputs the Rotation Angle value from the Posting page when the Output Rotary Angle option is used. |
Mill Turn Job |
Outputs the Rotation Angle value from the Posting page when the Output Rotary Angle option is used. |
Mill Job |
Outputs the rotation angle from wrapping blocks using prefix from post question: 690 |
Mill Turn Job |
This variable has been replaced by p_rot and s_rot variables. |
Mill Job |
Outputs the rotation angle from wrapping blocks using prefix from post question: 694 |
Mill Turn Job |
This variable has been replaced by p_rot and s_rot variables. |
Mill Job |
Outputs the string based on the mode (Inch/Metric). Strings defined on post questions: 614(Inch) and post question: 615(Metric).
API: short MILL_GetUnits()
Returns the current unit setting 0= Inch 1= Metric |
Mill Turn Job |
Outputs the string based on the mode (Inch/Metric). Strings defined on post questions: 614(Inch) and post question: 615(Metric).
API: Use Mill API call. |
Lathe Job |
Returns the current unit setting
0 = Inch 1 = Metric
API: short LATHE_GetUnits() |
Mill Job |
Outputs the string based on the current mode (Absolute/Incremental). The output strings are defined on post question: 620(Abs) and post question: 621(Inc).
API: short MILL_GetIsIncremental() |
Mill Turn Job |
Outputs the string based on the current mode (Absolute/Incremental). The output strings are defined on post question: 620(Abs) and post question: 621(Inc).
API: Use Mill API call. |
Mill Job |
Outputs the arc center X coordinate value using the prefix from post question: 642
API: double MILL_GetArcCenterX() |
Mill Turn Job |
Outputs the arc center X coordinate value using the prefix from post question: 642
API: Use Mill API Call |
Mill Job |
Outputs the arc center Y coordinate value using the prefix from post question: 643
API: double MILL_GetArcCenterY() |
Mill Turn Job |
Outputs the arc center Y coordinate value using the prefix from post question: 643
API: Use Mill API Call |
Mill Job |
Outputs the arc center Z coordinate value using the prefix from post question: 640
API: double MILL_GetArcCenterZ() |
Mill Turn Job |
Outputs the arc center Z coordinate value using the prefix from post question: 640
API: Use Mill API Call |
Mill Job |
Outputs the arc center radius value using the prefix from post question: 641
API: double MILL_GetArcRadius() |
Mill Turn Job |
Outputs the arc center radius value using the prefix from post question: 641
API: double MILLTURN_GetRCenter() |
Mill Job |
Outputs the arc center value based on the current arc being cut using prefixes from post questions: 640 through post question: 643.
API: double MILL_GetArcCenterX() double MILL_GetArcCenterY() double MILL_GetArcCenterZ() |
Lathe Job |
Outputs the arc center value based on the current arc being cut using prefixes from post questions: 640 and post question: 642.
API: double LATHE_GetArcCenterX() double LATHE_GetArcCenterZ() |
Mill Turn Job |
Outputs the arc center value based on the current arc being cut using prefixes from post questions: 640 through post question: 643.
API: Use Mill or Lathe API calls. |
Mill Job |
Outputs the total helix angle for helical toolpath entity. The prefix is defined on post question 733. |
Mill Turn Job |
Mill Job |
Outputs the pitch value for helical toolpath entity. The prefix is defined on post question 734. |
Mill Turn Job |
Mill Job |
Outputs the sequence numbers into the NC program. |
Lathe Job |
|
Mill Turn Job |
Mill Job |
Outputs the sequence numbers into the NC program even if the sequence number output has been turned off. |
Lathe Job |
|
Mill Turn Job |
Mill Job |
Outputs the sequence number with NO prefix |
Mill Turn Job |
Lathe Job |
Outputs the line number at the beginning of the profile that is used to define the canned roughing cycle. The prefix is defined on post question: 1790
API: string LATHE_GetFirstRoughLineNumberPrefix() |
Mill Turn Job |
Lathe Job |
Outputs the line number at the end of the profile that is used to define the canned roughing cycle. The prefix is defined on post question: 1791
API: string LATHE_GetLastRoughLineNumberPrefix() |
Mill Turn Job |
Lathe Job |
Outputs the line number at the beginning of the profile that is used to define the canned finish cycle. The prefix is defined on post question: 1790
API: string LATHE_GetLineNumberFirstFinish() |
Mill Turn Job |
Lathe Job |
Returns the P word for the first line number of turning canned cycle output to finish pass.
API: short LATHE_GetLineNumberFirstFinish() |
Mill Turn Job |
Lathe Job |
Returns the prefix string for the first line of a finish canned cycle. The prefix string is defined on post question: 1790.
API: string LATHE_GetFirstFinishLineNumberPrefix() |
Mill Turn Job |
Lathe Job |
Outputs the line number at the end of the profile that is used to define the canned finish cycle. The prefix is defined on post question: 1791
API: string LATHE_GetLineNumberLastFinish() string LATHE GetLastFinishLineNumberPrefix() |
Mill Turn Job |
Lathe Job |
Returns the Q word for the last line number of turning canned cycle output to the finish pass.
API: short LATHE_GetLineNumberLastFinish() |
Mill Job |
Outputs sub call string. String defined from post question: 628 |
Mill Turn Job |
Mill Job |
Outputs sub return string. String defined from post question: 629 |
Mill Turn Job |
Mill Job |
Outputs sub program number with prefix defined from post question :658 |
Mill Turn Job |
Mill Job |
Outputs sub program number without prefix |
Mill Turn Job |
Outputs sub program number without prefix
API: string MILLTURN_GetSubProgramNumber() |
Mill Job |
Outputs the sub program number with prefix defined on post question: 645
API: string MILL_GetSubProgramNumberWithPrefix() |
Mill Turn Job |
Outputs sub program number with prefix defined on post question: 645
API: string MILLTURN_GetSubProgramNumberWithPrefix() |
Transform Plane
Mill Job |
This variable should be utilized in the Milling tool change blocks to call the 30 or 31 block based on whether the operation is utilizing a transform block. If the operation is not utilizing the transform plane, block 30 will be output. If the operation is under an index system, and using the transform plane, the 31 transform plane block will be output. |
Mill Turn Job |
Mill Job |
Outputs the coordinate of the origin for the transformed plane from the machine setup position along the first translation axis (Typically the X axis origin) |
Mill Turn Job |
Mill Job |
Outputs the coordinate of the origin for the transformed plane from the machine setup position along the second translation axis (Typically the Y axis origin) |
Mill Turn Job |
Mill Job |
Outputs the coordinate of the origin for the transformed plane from the machine setup position along the third translation axis (Typically the Z axis origin) |
Mill Turn Job |
Mill Job |
Outputs the X axis rapid location on the transformed plane with the prefix defined by post question: 684
This variable should be used in block 31 to output coordinates relative to the transformed plane |
Mill Turn Job |
Mill Job |
Outputs the Y axis rapid location on the transformed plane with the prefix defined by post question: 685 This variable should be used in block 31 to output coordinates relative to the transformed plane |
Mill Turn Job |
Mill Job |
Outputs the Z axis rapid location on the transformed plane with the prefix defined by post question: 686 This variable should be used in block 31 to output coordinates relative to the transformed plane |
Mill Turn Job |
Mill Job |
Outputs first rotary angle for the operations on the transform plane |
Mill Turn Job |
Mill Job |
Outputs second rotary angle for the operations on the transform plane |
Mill Turn Job |
Mill Job |
Outputs third rotary angle for the operations on the transform plane |
Mill Turn Job |
euler_angle_zxz_intrinsic_2 euler_angle_zxz_intrinsic_3 |
|
Mill Job |
Outputs the rotation angles for Euler angle definition by intrinsic rotation around machine setup Z axis first, then around X axis of the rotated coordinate system resulted from first rotation & finally around Z axis of the rotated coordinate system resulted from the second rotation respectively for the transformed plane |
Mill Turn Job |
euler_angle_zxz_extrinsic_2 euler_angle_zxz_extrinsic_3 |
|
Mill Job |
Outputs the rotation angles for Euler angle definition by extrinsic rotation around the machine setup Z axis first, X axis & Z axis again for the transformed plane |
Mill Turn Job |
euler_angle_xyx_intrinsic_2 euler_angle_xyx_intrinsic_3 |
|
Mill Job |
Outputs the rotation angles for Euler angle definition by intrinsic rotation around machine setup X axis first, then around Y axis of the rotated coordinate system resulted from first rotation & finally around X axis of the rotated coordinate system resulted from the second rotation respectively for the transformed plane |
Mill Turn Job |
euler_angle_xyx_extrinsic_1 euler_angle_xyx_extrinsic_2 euler_angle_xyx_extrinsic_3 |
|
Mill Job |
Outputs the rotation angles for Euler angle definition by extrinsic rotation around X axis, Y axis, X axis respectively of the machine setup for the transformed plane |
Mill Turn Job |
euler_angle_yzy_intrinsic_2 euler_angle_yzy_intrinsic_3 |
|
Mill Job |
Outputs the rotation angles for Euler angle definition by intrinsic rotation around machine setup Y axis first, then around Z axis of the rotated coordinate system resulted from first rotation & finally around Y axis of the rotated coordinate system resulted from the second rotation respectively for the transformed plane |
Mill Turn Job |
euler_angle_yzy_extrinsic_2 euler_angle_yzy_extrinsic_3 |
|
Mill Job |
Outputs the rotation angles for Euler angle definition by extrinsic rotation around Y axis, Z axis, Y axis respectively of the machine setup for the transformed plane |
Mill Turn Job |
euler_angle_zyz_intrinsic_2 euler_angle_zyz_intrinsic_3 |
|
Mill Job |
Outputs the rotation angles for Euler angle definition by intrinsic rotation around machine setup Z axis first, then around Y axis of the rotated coordinate system resulted from first rotation & finally around Z axis of the rotated coordinate system resulted from the second rotation respectively for the transformed plane |
Mill Turn Job |
euler_angle_zyz_extrinsic_2 euler_angle_zyz_extrinsic_3 |
|
Mill Job |
Outputs the rotation angles for Euler angle definition by extrinsic rotation around Z axis, Y axis, Z axis respectively of the machine setup for the transformed plane |
Mill Turn Job |
euler_angle_xzx_intrinsic_2 euler_angle_xzx_intrinsic_3 |
|
Mill Job |
Outputs the rotation angles for Euler angle definition by intrinsic rotation around machine setup X axis first, then around Z axis of the rotated coordinate system resulted from first rotation & finally around X axis of the rotated coordinate system resulted from the second rotation respectively for the transformed plane |
Mill Turn Job |
euler_angle_xzx_extrinsic_2 euler_angle_xzx_extrinsic_3 |
|
Mill Job |
Outputs the rotation angles for Euler angle definition by extrinsic rotation around X axis, Z axis, X axis respectively of the machine setup for the transformed plane |
Mill Turn Job |
euler_angle_yxy_intrinsic_2 euler_angle_yxy_intrinsic_3 |
|
Mill Job |
Outputs the rotation angles for Euler angle definition by intrinsic rotation around machine setup Y axis first, then around X axis of the rotated coordinate system resulted from first rotation & finally around Y axis of the rotated coordinate system resulted from the second rotation respectively for the transformed plane |
Mill Turn Job |
euler_angle_yxy_extrinsic_2 euler_angle_yxy_extrinsic_3 |
|
Mill Job |
Outputs the rotation angles for Euler angle definition by extrinsic rotation around Y axis, X axis, Y axis respectively of the machine setup for the transformed plane |
Mill Turn Job |
rpy_angle_xyz_intrinsic_2 rpy_angle_xyz_intrinsic_3 |
|
Mill Job |
Outputs the rotation angles for Roll Pitch Yaw angle definition by intrinsic rotation around machine setup X axis first, then around Y axis of the rotated coordinate system resulted from first rotation & finally around Z axis of the rotated coordinate system resulted from the second rotation respectively for the transformed plane |
Mill Turn Job |
rpy_angle_xyz_extrinsic_2 rpy_angle_xyz_extrinsic_3 |
|
Mill Job |
Outputs the rotation angles for Roll Pitch Yaw angle definition by extrinsic rotation around X axis, Y axis, Z axis respectively of the machine setup for the transformed plane |
Mill Turn Job |
rpy_angle_yzx_intrinsic_2 rpy_angle_yzx_intrinsic_3 |
|
Mill Job |
Outputs the rotation angles for Roll Pitch Yaw angle definition by intrinsic rotation around machine setup Y axis first, then around Z axis of the rotated coordinate system resulted from first rotation & finally around X axis of the rotated coordinate system resulted from the second rotation respectively for the transformed plane |
Mill Turn Job |
rpy_angle_yzx_extrinsic_2 rpy_angle_yzx_extrinsic_3 |
|
Mill Job |
Outputs the rotation angles for Roll Pitch Yaw angle definition by extrinsic rotation around Y axis, Z axis, X axis respectively of the machine setup for the transformed plane |
Mill Turn Job |
rpy_angle_zxy_intrinsic_2 rpy_angle_zxy_intrinsic_3 |
|
Mill Job |
Outputs the rotation angles for Roll Pitch Yaw angle definition by intrinsic rotation around machine setup Z axis first, then around X axis of the rotated coordinate system resulted from first rotation & finally around Y axis of the rotated coordinate system resulted from the second rotation respectively for the transformed plane |
Mill Turn Job |
rpy_angle_zxy_extrinsic_2 rpy_angle_zxy_extrinsic_3 |
|
Mill Job |
Outputs the rotation angles for Roll Pitch Yaw angle definition by extrinsic rotation around Z axis, X axis, Y axis respectively of the machine setup for the transformed plane |
Mill Turn Job |
rpy_angle_xzy_intrinsic_2 rpy_angle_xzy_intrinsic_3 |
|
Mill Job |
Outputs the rotation angles for Roll Pitch Yaw angle definition by intrinsic rotation around machine setup X axis first, then around Z axis of the rotated coordinate system resulted from first rotation & finally around Y axis of the rotated coordinate system resulted from the second rotation respectively for the transformed plane |
Mill Turn Job |
rpy_angle_xzy_extrinsic_2 rpy_angle_xzy_extrinsic_3 |
|
Mill Job |
Outputs the rotation angles for Roll Pitch Yaw angle definition by extrinsic rotation around X axis, Z axis, Y axis respectively of the machine setup for the transformed plane |
Mill Turn Job |
rpy_angle_zyx_intrinsic_2 rpy_angle_zyx_intrinsic_3 |
|
Mill Job |
Outputs the rotation angles for Roll Pitch Yaw angle definition by intrinsic rotation around machine setup Z axis first, then around Y axis of the rotated coordinate system resulted from first rotation & finally around X axis of the rotated coordinate system resulted from the second rotation respectively for the transformed plane |
Mill Turn Job |
rpy_angle_zyx_extrinsic_2 rpy_angle_zyx_extrinsic_3 |
|
Mill Job |
Outputs the rotation angles for Roll Pitch Yaw angle definition by extrinsic rotation around Z axis, Y axis, X axis respectively of the machine setup for the transformed plane |
Mill Turn Job |
rpy_angle_yxz_intrinsic_2 rpy_angle_yxz_intrinsic_3 |
|
Mill Job |
Outputs the rotation angles for Roll Pitch Yaw angle definition by intrinsic rotation around machine setup Y axis first, then around X axis of the rotated coordinate system resulted from first rotation & finally around Z axis of the rotated coordinate system resulted from the second rotation respectively for the transformed plane |
Mill Turn Job |
rpy_angle_yxz_extrinsic_2 rpy_angle_yxz_extrinsic_3 |
|
Mill Job |
Outputs the rotation angles for Roll Pitch Yaw angle definition by extrinsic rotation around Y axis, X axis, Z axis respectively of the machine setup for the transformed plane |
Mill Turn Job |
transform_plane_dir_x_2 transform_plane_dir_x_3 |
|
Mill Job |
Outputs the first vector I,J,K for the transform plane when using 2 vectors definition for transform planes |
Mill Turn Job |
transform_plane_dir_z_2 transform_plane_dir_z_3 |
|
Mill Job |
Outputs the second vector I,J,K for the transform plane when using 2 vectors definition for transform planes |
Mill Turn Job |
transform_plane_pnt_2_2 transform_plane_pnt_2_3 |
|
Mill Job |
Outputs X,Y,Z coordinates along the X axis of the transformed plane relative to the origin of the machine setup. Note: The transform_plane_origin_# variables are typically used for the first point of the 3 point transform plane output. |
Mill Turn Job |
transform_plane_pnt_3_2 transform_plane_pnt_3_3 |
|
Mill Job |
Outputs X,Y,Z coordinates along the Y axis of the transformed plane relative to the origin of the machine setup |
Mill Turn Job |
transform_plane_orientation_y transform_plane_orientation_z |
|
Mill Job |
Outputs the I,J,K values for the Z axis of the transformed plane |
Mill Turn Job |
Mill Job |
Used to return the value of the transform plane related variables only. API: GetDoubleOfPostVariable(“variable_name”)
Example : GetDoubleOfPostVariable(“euler_angle_intrinsic_zxz_1”)
Note: For a list of all variables which work with this API, see the GetDoubleOfPostVariable topic. |
Mill Turn Job |
Comments
Mill Job |
Outputs the name of the operation in the CAM tree using the comment_start and comment_end characters defined on post question: 630 and post question: 631.
API: string MILL_GetOperationNameComment() |
Lathe Job |
Outputs the name of the operation in the CAM tree using the comment_start and comment_end characters defined on post question: 630 and post question: 631. |
Mill Turn Job |
Outputs the name of the operation in the CAM tree using the comment_start and comment_end characters defined on post question: 630 and post question: 631.
API: string MILLTURN_GetOperationNameComment() |
Mill Job |
Outputs the name of the feature in the CAM tree using the comment_start and comment_end characters defined on post question: 630 and post question: 631.
API: string MILL_GetFeatureNameComment() |
Mill Turn Job |
Outputs the name of the feature in the CAM tree using the comment_start and comment_end characters defined on post question: 630 and post question: 631.
API: string MILLTURN_GetFeatureNameComment() |
comment_start (start_comment – Lathe Job) |
|
Mill Job |
Outputs the string character uses to start a comment. String is defined on post question: 630 |
Lathe Job |
Variable: start_comment – Outputs the string character defined for the beginning of a comment. Characters defined on post question: 630 |
Mill Turn Job |
Outputs the string character uses to start a comment. String is defined on post question: 630 |
Mill Job |
Outputs the string character uses to end a comment. String is defined on post question: 631 |
Lathe Job |
Variable: end_comment – Outputs the string character defined for the end of a comment. Characters defined on post question: 631 |
Mill Turn Job |
Outputs the string character uses to end a comment. String is defined on post question: 631 |
Mill Job |
Outputs a combination of the Machine Setup name and the Feature Name on the same line using the start_comment and end_comment strings. |
Lathe Job |
Variable: comment1 – Outputs a combination of the Machine Setup name and the Feature Name on the same line using the start_comment and end_comment strings. |
Mill Turn Job |
Outputs a combination of the Machine Setup name and the Feature Name on the same line using the start_comment and end_comment strings. |
Mill Job |
Outputs the subprogram description comment
API: string MILL_GetSubComment() |
Mill Turn Job |
Outputs the subprogram description comment
API: string MILLTURN_GetSubComment() |
Mill Job |
Outputs the Date. |
Lathe Job |
|
Mill Turn Job |
Lathe Job |
Returns the day and date.
API: string LATHE_GetDate() |
Mill Turn Job |
Mill Job |
Outputs the Time. |
Lathe Job |
|
Mill Turn Job |
Mill Job |
Outputs the program number with NO prefix
API: string MILL_GetProgramNumber() |
Lathe Job |
Outputs the program number with NO prefix
API: short LATHE_GetProgramNumber() |
Mill Turn Job |
Outputs the program number with NO prefix()
API: string MILLTURN_GetProgramNumber() |
Mill Job |
Outputs the program name with no file path but does include the file extension.
API: string MILL_GetProgramName() |
Lathe Job |
Outputs the program name with no file path but does include the file extension.
API: string LATHE_GetProgramName() |
Mill Turn Job |
Outputs the program name with no file path but does include the file extension.
API: string MILLTURN_GetProgramName() |
NOTE: |
While the Post Variable outputs the program name and file extension, it does not output the full file path. The API, however, outputs the file extension and the full file path. |
Mill Job |
Outputs the program name with file path, but NO file extension.
API: string MILL_GetProgramNameNoExt() |
Mill Turn Job |
Outputs the program name with file path, but NO file extension.
API: string MILLTURN_GetProgramNameNoExt() |
Mill Job |
Outputs the program name without file path and file extension.
API: string MILL_GetProgramNameNoExtNoPath() |
Mill Turn Job |
Mill Job |
Outputs the program name with extension, but NO file path.
API: string BC_GetProgramNameNoPath() |
Mill Turn Job |
Mill Job |
Outputs the program name with file path and file extension.
API: string BC_GetProgramNameFullPath() |
Mill Turn Job |
Mill Job |
Outputs the document name with file extension.
NOTE – a bbcd file has to be saved first to get the document name, otherwise no name will be output in the posted code |
Lathe Job |
|
Mill Turn Job |
Mill Job |
Outputs the document name with full file path and no file extension.
NOTE – a bbcd file has to be saved first to get the document name, otherwise no name will be output in the posted code |
Lathe Job |
|
Mill Turn Job |
Mill Job |
Outputs just the document name only.
NOTE – a bbcd file has to be saved first to get the document name, otherwise no name will be output in the posted code |
Lathe Job |
|
Mill Turn Job |
Mill Job |
Outputs the document name with extension and full file path.
NOTE – a bbcd file has to be saved first to get the document name, otherwise no name will be output in the posted code |
Lathe Job |
|
Mill Turn Job |
Mill Job |
Outputs the job name only. |
Lathe Job |
|
Mill Turn Job |
Mill Job |
Outputs the machine make defined on post question: 646 |
Lathe Job |
|
Mill Turn Job |
Mill Job |
Outputs the machine model defined on post question: 646 |
Lathe Job |
|
Mill Turn Job |
Mill Job |
Outputs the name of the feature with no comment start/end strings |
Lathe Job |
|
Mill Turn Job |
Mill Job |
Outputs the name of the setup with no comment start/end strings |
Lathe Job |
|
Mill Turn Job |
Mill Job |
Outputs the name of the operation with no comment start/end strings |
Lathe Job |
|
Mill Turn Job |
Lathe Job |
Outputs the Machine Setup comment and the first operation comment.
See Also: system_comment
API: string LATHE_GetComment1() |
Mill Turn Job |
Outputs the Machine Setup comment and the first operation comment.
See Also: system_comment
API: string MILLTURN_GetComment1() |
Lathe Job |
Outputs the tool number plus the tool label
API: string LATHE_GetComment2() |
Mill Turn Job |
Outputs the tool number plus the tool label
API: string MILLTURN_GetComment2() |
Lathe Job |
Outputs the operation comment
API: string LATHE_GetComment3() |
Mill Turn Job |
Outputs the operation comment
API: string MILLTURN_GetComment3() |
user_comment_15 |
|
Mill Job |
Outputs the user comments defined in the Current Settings for the job. |
Lathe Job |
|
Mill Turn Job |
Mill Job |
Outputs the note from CAM tree. Variable outputs note from Job level if used in Block 0, outputs note from Machine setup when used in blocks 15 & 16., when used in other blocks will output notes from Group folder/Index system/Wrapping group/feature/operation level. |
Lathe Job |
|
Mill Turn Job |
Mill Job |
Outputs the defined material as a string.
API: string MILLTURN_GetMaterialComment() |
Lathe Job |
|
Mill Turn Job |
Stock
Mill Job |
Returns the X coordinate for the bottom left hand corner of the stock with NO prefix.
API: double MILL_GetStockMinX() |
Mill Turn Job |
Returns the X coordinate for the bottom left hand corner of the stock with NO prefix.
API: double MILLTURN_GetStockMinX() |
Mill Job |
Returns the Y coordinate of the lower edge of the stock with NO prefix
API: double MILL_GetStockMinY() |
Mill Turn Job |
Returns the Y coordinate of the lower edge of the stock with NO prefix
API: double MILLTURN_GetStockMinY() |
Mill Job |
Returns the Z coordinate of the bottom of the stock with NO prefix
API: double MILL_GetStockMinZ() |
Mill Turn Job |
Returns the Z coordinate of the bottom of the stock with NO prefix
API: double MILLTURN_GetStockMinZ() |
Mill Job |
Returns the X coordinate for the top right hand corner of the stock with NO prefix.
API: double MILL_GetStockMaxX() |
Mill Turn Job |
Returns the X coordinate for the top right hand corner of the stock with NO prefix.
API: double MILLTURN_GetStockMaxX() |
Mill Job |
Returns the Y coordinate of the top right hand corner of the stock with NO prefix
API: double MILL_GetStockMaxY() |
Mill Turn Job |
Returns the Y coordinate of the top right hand corner of the stock with NO prefix
API: double MILLTURN_GetStockMaxY() |
Mill Job |
Returns the Z coordinate of the top right hand corner of the stock with NO prefix
API: double MILL_GetStockMaxZ() |
Mill Turn Job |
Returns the Z coordinate of the right hand corner of the stock with NO prefix
API: double MILLTURN_GetStockMaxZ() |
stock_length |
|
Mill Job |
Outputs the X dimension of the stock with NO prefix |
Lathe Job |
Outputs the length of the stock(Z axis) with NO prefix |
Mill Turn Job |
Outputs the X dimension of the stock with NO prefix |
Mill Job |
Outputs the Y dimension of the stock with NO prefix |
Mill Turn Job |
Mill Job |
Outputs the Z dimension of the stock with NO prefix |
Mill Turn Job |
Mill Job |
Returns the wrapping stock diameter with prefix. The prefix is defined on post question: 703
API: double MILL_GetRotaryStockDiameter() |
Mill Turn Job |
Mill Job |
Returns the length of the stock with prefix. The prefix is defined on post question: 704
API: double MILL_GetRotaryStockLength() |
Mill Turn Job |
Mill Job |
Outputs rotation axis with the prefix defined on post question: 702
API: double MILL_GetRotaryAxis() |
Mill Turn Job |
Mill Job |
Outputs the stock definition blocks 108 and 109 based on the stock type. |
Lathe Job |
Outputs the stock definition block 1111. |
Mill Turn Job |
Outputs the stock definition blocks 108 and 109 based on the stock type. |
Mill Job |
Outputs the tool angle with prefix. The prefix is defined on post question: 699 |
Mill Turn Job |
Mill Job |
Outputs the tool corner radius value with prefix. The prefix is defined on post question: 700 |
Mill Turn Job |
Mill Job |
Outputs the tool type with prefix. The prefix is defined on post question: 701
Values: 1 - Flat End Mill, Tap Tool, Reamer, Thread Mill, Counter Bore, Boring, All other tools 2 - Ball End Mill 3 - Bullnose End Mill 4 - Drill, Carbide Drill, Center Drill 7 - Chamfer Drill, Chamfer Mill, V-Tool |
Mill Turn Job |
Mill Job |
Outputs the tool label.
API: string MILL_GetToolLabel() |
Mill Turn Job |
Outputs the tool label.
API: string MILLTURN_GetToolLabel() |
Mill Job |
Outputs the next tool label.
API: string MILL_GetNextToolLabel() |
Mill Turn Job |
Mill Job |
Outputs the block delete characters. The block delete characters that are output are defined on post question: 656 |
Lathe Job |
Variable used: start_add_block_delete – This variable marks the beginning of outputting the block delete characters. The block delete characters that is output is defined on post question: 656
To end the output of the block delete character use the stop_add_block_delete variable. |
Mill Turn Job |
Outputs the block delete characters. The block delete characters that are output are defined on post question: 656 |
Lathe Job |
Sets the Z axis stock position.
API: LATHE_SetStockPosZ(variable_name) |
Mill Turn Job |
Lathe Job |
Sets the X axis stock position.
API: LATHE_SetStockPosX(variable_name) |
Mill Turn Job |
Lathe Job |
Returns the Z axis stock position.
API: double LATHE_GetStockPosZ() |
Mill Turn Job |
Lathe Job |
Returns the X axis stock position.
API: double LATHE_GetStockPosX() |
Mill Turn Job |
Lathe Job |
Sets the stock feed to Z value
API: LATHE_SetStockFeedToZ(variable_name) |
Mill Turn Job |
Lathe Job |
Returns the Z axis stock feed to position.
API: double LATHE_GetStockFeedToZ() |
Mill Turn Job |
Lathe Job |
Returns the length of the currently defined stock.
API: double LATHE_GetStockLength() |
Mill Turn Job |
Lathe Job |
Returns the internal diameter of the currently defined stock.
API: double LATHE_GetStockInternalDiameter() |
Mill Turn Job |
Lathe Job |
Returns the Z axis position of the stock face.
API: double LATHE_GetStockFaceZLocation() |
Mill Turn Job |
Lathe Job |
Returns the Z axis position of the end of the stock.
API: double LATHE_GetStockEndZLocation() |
Mill Turn Job |
Lathe Job |
Returns the diameter of the stock.
API: double LATHE_GetStockDiameter() |
Mill Turn Job |
G Codes
Mill Job |
Outputs the code for move at feedrate. String defined on post question: 681 |
Lathe Job |
|
Mill Turn Job |
Mill Job |
Outputs the code for move at rapid. String defined on post question: 680 |
Lathe Job |
|
Mill Turn Job |
Mill Job |
Forces the output of the code for move at feedrate. |
Lathe Job |
|
Mill Turn Job |
Mill Job |
Forces the output of the code for move at rapid. |
Lathe Job |
|
Mill Turn Job |
Mill Job |
Outputs call to post block 11, 12 or 13 depending on the cutter compensation state. (11=OFF, 12=Left, 13=Right)
API: short MILL_GetOffsetSide() 0 = None 1 = Left 2 = Right |
Lathe Job |
Outputs call to post block 11, 12 or 13 depending on the cutter compensation state. (11=OFF, 12=Left, 13=Right)
API: short LATHE_GetCutterCompSide() 0 = None 41 = Left 42 = Right |
Mill Turn Job |
Outputs call to post block 11, 12 or 13 depending on the cutter compensation state. (11=OFF, 12=Left, 13=Right)
API: short MILLTURN_GetOffsetSide() 0 = None 1 = Left 2 = Right |
Mill Job |
Forces the output of the cc variable. |
Mill Turn Job |
Lathe Job |
Outputs cutter diameter compensation codes based on compensation state. Codes are |
Mill Turn Job |
Mill Job |
Outputs blocks depending on current Inch/Metric mode. Blocks defined on 614=Inch, 615=Metric |
Mill Turn Job |
Mill Job |
Outputs the currently set mode Radius or Diameter based on post question: 1249. If set to Radius mode the string from post question: 3561will be output. If set to Diameter mode the string from post question: 3562 will be output.
API: string MILLTURN_GetMtOutputRadDia() |
Mill Job |
Outputs the arc strings based on the arc direction. Strings from post questions: 682=CW, and 683=CCW. |
Lathe Job |
|
Mill Turn Job |
rigid_tapping_start |
|
Mill Job |
Outputs the post block 22 which is used to output the code that puts the machine in feed per revolution mode. |
Lathe Job |
Outputs the post block 1027 which is used to output the code that puts the machine in feed per revolution mode. |
Mill Turn Job |
Outputs the post block 22 which is used to output the code that puts the machine in feed per revolution mode. |
rigid_tapping_end |
|
Mill Job |
Outputs the post block 23 which is used to output the code that puts the machine in feed per minute mode. |
Lathe Job |
Outputs the post block 1028 which is used to output the code that puts the machine in feed per minute mode. |
Mill Turn Job |
Outputs the post block 23 which is used to output the code that puts the machine in feed per minute mode. |
Mill Turn Job |
Outputs the post block 3020 if the post question: 3509 is set to Yes. These blocks are used to put the machine in feed per revolution mode for the cross live tools. |
Mill Turn Job |
Outputs the post block 3021 if the post question: 3509 is set to Yes. These blocks are used to put the machine in feed per revolution mode for the cross live tools. |
Mill Job |
Outputs the strings from post question: 691=XY, 692=YZ, and 693=XZ based on the active plane. |
Mill Turn Job |
Mill Job |
Restarts modality rule and forces the output of the next gcode. |
Mill Turn Job |
Mill Job |
Outputs the active work plane (XY, YZ, XZ) G-code for the current operation from post questions 691, 692, 693 respectively. This variable can be used for machines which required to know the work plane in which the current operation is executed. Typically used in block 2,3,4 in Mill & MillTurn posts, 1002,1003,1004for lathe posts and polar start and end blocks (3005, 3006) for MillTurn posts |
Lathe Job |
|
Mill Turn Job |
Mill Job |
Outputs the XY work plane G-code for the current operation from post questions 691. |
Lathe Job |
|
Mill Turn Job |
Mill Job |
Outputs the YZ work plane G-code for the current operation from post questions 692 |
Lathe Job |
|
Mill Turn Job |
Mill Job |
Outputs the XZ work plane G-code for the current operation from post questions 693 |
Lathe Job |
|
Mill Turn Job |
Mill Turn Job |
Outputs the code used to set the maximum spindle speed clamp. The output string is defined on post question: 3577
API: string MILLTURN_GetMaxSSGCode() |
Mill Turn Job |
Outputs the string that is used to put the machine in exact stop mode. The output string is defined on post question: 3578
API: string MILLTURN_GetExactStop() |
Mill Turn Job |
Outputs the string that is used to turn on exact stop mode on the machine. This is a modal variable. The string is defined on post question: 3579.
API: string MILLTURN_GetExactStopModalOn() |
Mill Turn Job |
Outputs the string that is used to turn off exact stop mode on the machine. This is a modal variable. The string is defined on post question: 3580.
API: string MILLTURN_GetExactStopModalOff() |
Mill Turn Job |
Outputs the string that defines turning ON balance cutting mode on the machine. The output string is defined on post question: 3581.
API: string MILLTURN_GetBalanceCutOn() |
Mill Turn Job |
Outputs the string that defines turning OFF balance cutting mode on the machine. The output string is defined on post question: 3582.
API: string MILLTURN_GetBalanceCutOff() |
Lathe Job |
Outputs the string that defines the code used to activate a Lathe Finish Canned cycle. The string is defined on post question: 1870.
API: string MILLTURN_GetFinishCycleCode() |
Mill Turn Job |
Mill Turn Job |
Outputs the string that defines the code used to activate a Lathe Roughing Canned cycle. The string that is output depends on if the cycle is OD or Facing. The OD string that is output is defined on post question: 1871 The Face string that is output is defined on post question: 1872
API: string MILLTURN_GetRoughCycleCode() |
Mill Turn Job |
Outputs the string that defines the pattern repeat cycle on the machine. The output string is defined on post question: 1873
API: string MILLTURN_GetPatternRepeatCode() |
Mill Turn Job |
Outputs the string that defines the grooving cycle on the machine. The code that is output depends on if the cycle is OD or Face orientation. OD/ID code is defined on post question: 1875 Face code is defined on post question: 1874
API: string MILLTURN_GetGrooveCycleCode() |
Mill Turn Job |
Outputs the string that turns on the thread cutting cycle on the machine. The code that is output depends on if the cycle is OD or Face orientation. OD/ID code is defined on post question: 1876 Face code is defined on post question: 1877
API: string MILLTURN_GetThreadCycleCode() |
M Codes
Mill Job |
Outputs the string that defines the end of file to the machine. The string is defined on post question: 625. |
Mill Turn Job |
Mill Job |
Outputs the string that defines a stop to the machine. The string is defined on post question: 626 |
Lathe Job |
|
Mill Turn Job |
Mill Turn Job |
Outputs the string that defines an optional stop to the machine. The string is defined on post question: 627 |
Mill Job |
Outputs the spindle ON string based on the current Forwar/Reverse state. The strings output are defined on post question: 670=Forward, and post question: 671=Reverse. |
Lathe Job |
Outputs the spindle ON string based on the current Forward/Reverse state. The strings output are defined on post question: 670=Forward, and post question: 671=Reverse.
API: string LATHE_GetSpindleOn() |
Mill Turn Job |
Outputs the spindle ON string based on the currently active Workpiece device and the Forward/Reverse state. Each Workpiece device has spindle codes that are used for Forward, Reverse, and OFF. The post questions for these codes are as follows: 10x02 = Forward Code 10x03 = OFF Code 10x04 = Reverse Code |
Mill Job |
Outputs the string to turn off the spindle. The string output is defined on post question: 671. |
Lathe Job |
Outputs the spindle OFF string. The output string is defined on post question: 672
API: string LATHE_GetSpindleOff() |
Mill Turn Job |
Outputs the spindle OFF string based on the currently active Workpiece device. Each Workpiece device has spindle codes that are used for Forward, Reverse, and OFF. The post questions for these codes are as follows: 10x02 = Forward Code 10x03 = OFF Code 10x04 = Reverse Code |
Mill Turn Job |
Outputs the spindle ON Forward, OFF, and ON Reverse strings. The system will output the spindle strings based on the active Tool device. Each Tool device has spindle codes that are used.
The post questions for these string codes are as follows: 20x02 = ON Forward Code 20x03 = OFF Code 20x04 = ON Reverse Code
API: string MILLTURN_GetLiveSpindleOn() |
Mill Turn Job |
Outputs the spindle OFF string. The system will output the spindle string based on the active Tool device. Each Tool device has spindle codes that are used.
The post questions for these string codes are as follows: 20x02 = ON Forward Code 20x03 = OFF Code 20x04 = ON Reverse Code
API: string MILLTURN_GetLiveSpindleOff() |
Mill Turn Job |
Outputs the spindle ON Forward string. The system will output the spindle string based on the active Tool device. Each Tool device has spindle codes that are used.
The post questions for these string codes are as follows: 20x02 = ON Forward Code 20x03 = OFF Code 20x04 = ON Reverse Code
API: string MILLTURN_GetLiveSpindleOnForward() |
Mill Turn Job |
Outputs the spindle ON Forward string. The system will output the spindle string based on the active Tool device. Each Tool device has spindle codes that are used.
The post questions for these string codes are as follows: 20x02 = ON Forward Code 20x03 = OFF Code 20x04 = ON Reverse Code
API: string MILLTURN_GetLiveSpindleOnReverse() |
Coolant Codes
Mill Job |
Outputs the coolant ON string. The strings output are as follows: 673 = Flood 706 = Mist 707 = Air 708 = Oil |
Lathe Job |
Outputs the coolant ON string. The string is defined on post question: 673 |
Mill Turn Job |
Outputs the coolant ON string. The string that is output is dependant of the active toolpiece device. Each toolpiece device has coolant codes for each of the coolant types. The codes are as follows: 20x10 = Coolant 1 ON 20x11 = Coolant 2 ON 20x12 = Coolant 3 ON 20x13 = Coolant 4 ON 20x14 = Coolant OFF |
Mill Job |
Outputs the coolant OFF string. The string is defined on post question: 674 |
Lathe Job |
Outputs the coolant OFF string. The string is defined on post question: 674 |
Mill Turn Job |
Outputs the coolant OFF string. The string that is output is dependant of the active toolpiece device. The post question defining the coolant OFF code is: 20x14 = Coolant OFF |
Lathe Job |
Returns the current coolant state
API: short LATHE_GetIsCoolantOn() |
Mill Turn Job |
Lathe Job |
Returns the coolant ON string
API: string LATHE_GetCoolantOn() |
Mill Turn Job |
Lathe Job |
Returns the coolant OFF string
API: string LATHE_GetCoolantOff() |
Mill Turn Job |
Mill Job |
Outputs the coolant ON string for the first coolant option. The string is defined on post question: 840 |
Lathe Job |
|
Mill Turn Job |
Outputs the coolant ON string for the first coolant option. The string that is output is dependent of the active toolpiece device in post questions : 20x40 |
Mill Job |
Outputs the coolant ON string for the second coolant option. The string is defined on post question: 841 |
Lathe Job |
|
Mill Turn Job |
Outputs the coolant ON string for the first coolant option. The string that is output is dependent of the active toolpiece device in post questions : 20x41 |
Mill Job |
Outputs the coolant ON string for the third coolant option. The string is defined on post question: 842 |
Lathe Job |
|
Mill Turn Job |
Outputs the coolant ON string for the first coolant option. The string that is output is dependent of the active toolpiece device in post questions : 20x42 |
Mill Job |
Outputs the coolant ON string for the fourth coolant option. The string is defined on post question: 843 |
Lathe Job |
|
Mill Turn Job |
Outputs the coolant ON string for the first coolant option. The string that is output is dependent of the active toolpiece device in post questions : 20x43 |
Mill Job |
Outputs the coolant ON string for the fifth coolant option. The string is defined on post question: 844 |
Lathe Job |
|
Mill Turn Job |
Outputs the coolant ON string for the first coolant option. The string that is output is dependent of the active toolpiece device in post questions : 20x44 |
Mill Job |
Outputs the coolant ON string for the sixth coolant option. The string is defined on post question: 845 |
Lathe Job |
|
Mill Turn Job |
Outputs the coolant ON string for the first coolant option. The string that is output is dependent of the active toolpiece device in post questions : 20x45 |
Mill Job |
Outputs the coolant ON string for the seventh coolant option. The string is defined on post question: 846 |
Lathe Job |
|
Mill Turn Job |
Outputs the coolant ON string for the first coolant option. The string that is output is dependent of the active toolpiece device in post questions : 20x46 |
Mill Job |
Outputs the coolant ON string for the eight coolant option. The string is defined on post question: 847 |
Lathe Job |
|
Mill Turn Job |
Outputs the coolant ON string for the first coolant option. The string that is output is dependent of the active toolpiece device in post questions : 20x47 |
Mill Job |
Outputs the coolant ON string for the ninth coolant option. The string is defined on post question: 848 |
Lathe Job |
|
Mill Turn Job |
Outputs the coolant ON string for the first coolant option. The string that is output is dependent of the active toolpiece device in post questions : 20x48 |
Mill Job |
Outputs the coolant ON string for the tenth coolant option. The string is defined on post question: 849 |
Lathe Job |
|
Mill Turn Job |
Outputs the coolant ON string for the first coolant option. The string that is output is dependent of the active toolpiece device in post questions : 20x49 |
Mill Job |
Outputs the coolant OFF string for the first coolant option. The string is defined on post question: 850 |
Lathe Job |
|
Mill Turn Job |
Outputs the coolant ON string for the first coolant option. The string that is output is dependent of the active toolpiece device in post questions : 20x50 |
Mill Job |
Outputs the coolant OFF string for the second coolant option. The string is defined on post question: 851 |
Lathe Job |
|
Mill Turn Job |
Outputs the coolant ON string for the first coolant option. The string that is output is dependent of the active toolpiece device in post questions : 20x51 |
Mill Job |
Outputs the coolant OFF string for the third coolant option. The string is defined on post question: 852 |
Lathe Job |
|
Mill Turn Job |
Outputs the coolant ON string for the first coolant option. The string that is output is dependent of the active toolpiece device in post questions : 20x52 |
Mill Job |
Outputs the coolant OFF string for the fourth coolant option. The string is defined on post question: 853 |
Lathe Job |
|
Mill Turn Job |
Outputs the coolant ON string for the first coolant option. The string that is output is dependent of the active toolpiece device in post questions : 20x53 |
Mill Job |
Outputs the coolant OFF string for the fifth coolant option. The string is defined on post question: 854 |
Lathe Job |
|
Mill Turn Job |
Outputs the coolant ON string for the first coolant option. The string that is output is dependent of the active toolpiece device in post questions : 20x54 |
Mill Job |
Outputs the coolant OFF string for the sixth coolant option. The string is defined on post question: 855 |
Lathe Job |
|
Mill Turn Job |
Outputs the coolant ON string for the first coolant option. The string that is output is dependent of the active toolpiece device in post questions : 20x55 |
Mill Job |
Outputs the coolant OFF string for the seventh coolant option. The string is defined on post question: 856 |
Lathe Job |
|
Mill Turn Job |
Outputs the coolant ON string for the first coolant option. The string that is output is dependent of the active toolpiece device in post questions : 20x56 |
Mill Job |
Outputs the coolant OFF string for the eighth coolant option. The string is defined on post question: 857 |
Lathe Job |
|
Mill Turn Job |
Outputs the coolant ON string for the first coolant option. The string that is output is dependent of the active toolpiece device in post questions : 20x57 |
Mill Job |
Outputs the coolant OFF string for the ninth coolant option. The string is defined on post question: 858 |
Lathe Job |
|
Mill Turn Job |
Outputs the coolant ON string for the first coolant option. The string that is output is dependent of the active toolpiece device in post questions : 20x58 |
Mill Job |
Outputs the coolant OFF string for the tenth coolant option. The string is defined on post question: 859 |
Lathe Job |
|
Mill Turn Job |
Outputs the coolant ON string for the first coolant option. The string that is output is dependent of the active toolpiece device in post questions : 20x59 |
Canned Cycles
Lathe Job |
Outputs the canned turning cycle starting X position with prefix. The prefix string is defined on post question: 684
API: double LATHE_GetProfileStartX() |
Mill Turn Job |
Outputs the canned turning cycle starting X position with prefix. The prefix string is defined on post question: 1801
API: double MILLTURN_GetProfileStartX() |
Lathe Job |
Outputs the canned turning cycle starting Z position with prefix. The prefix string is defined on post question: 686
API: double LATHE_GetProfileStartZ() |
Mill Turn Job |
Outputs the canned turning cycle starting Z position with prefix. The prefix string is defined on post question: 1803
API: double MILLTURN_GetProfileStartZ() |
Lathe Job |
Outputs the canned turning cycle ending X position with prefix. The prefix string is defined on post question: 684
API: double LATHE_GetProfileEndX() |
Mill Turn Job |
Outputs the canned turning cycle ending X position with prefix. The prefix string is defined on post question: 1801
API: double MILLTURN_GetProfileEndX() |
Lathe Job |
Outputs the canned turning cycle ending Z position with prefix. The prefix string is defined on post question: 686
API: double LATHE_GetProfileEndZ() |
Mill Turn Job |
Outputs the canned turning cycle ending Z position with prefix. The prefix string is defined on post question: 1803
API: double MILLTURN_GetProfileEndZ() |
Mill Turn Job |
Outputs the canned threading cycle ending X position with prefix. The prefix string is defined on post question: 1801. This variable will output the X dimension without the thread depth being taken into account.
API: double MILLTURN_GetProfileEndXTopOfThread() |
Mill Job |
Outputs the string defining the currently used cycle. The strings used are defined |
Lathe Job |
Outputs the string defining the currently used cycle. The strings used are defined |
Mill Turn Job |
Outputs the string defining the currently used cycle. The strings used are defined |
Mill Job |
Outputs the string that defines the Canned Cycle Cancel to the machine. The string output is defined on post question: 679 |
Mill Turn Job |
Outputs the string that defines the Canned Cycle Cancel code to the machine. There are several Cancel codes that will be used. Output is determined by the current drilling mode(Mill, Lathe, or Cross Drilling). The strings output are defined as follows: Mill Drill Cycle Cancel – 679 Lathe Drill Cycle Cancel - 679 Cross Drill Cycle Cancel - 3518 |
Mill Job |
Outputs the current defined string based on post questions: 516 and 515. The output |
Lathe Job |
Outputs the current defined string based on post questions: 516 and 515. The output |
Mill Turn Job |
Mill(Face with Live Tooling) and Lathe(Face with Static Tooling) will output the currently defined string based on post questions: 515 and 516. The strings output are defined on post questions: 727 and 728.
Cross Drilling will output the currently defined string based on post questions: 3513 and 3512. The strings output are defined on post questions: 3525 and 3526. |
Mill Job |
Outputs the drill depth with prefix. The prefix is defined on post question: 677
API: double MILL_GetDrillDepth() |
Lathe Job |
Outputs the drill depth with prefix. The prefix is defined on post question: 1844 |
Mill Turn Job |
Outputs the drill depth with prefix. The prefix is defined as the following: Mill Operation(Face) – 677 Mill Operation(Cross – 3517 Lathe Operation(Face) - 1844 |
Mill Turn Job |
Outputs the drill depth with NO prefix. |
Mill Job |
Outputs the Z axis position at the depth of the hole. The prefix is defined on post question: 677
API: double MILL_GetDrillZ() |
Mill Turn Job |
Outputs the Z axis position at the depth of the hole. The prefix is defined on post question: 677
API: double MILLTURN_GetDrillZ() |
Mill Job |
Outputs the Z axis position at the depth of the hole with NO prefix.
API: double MILL_GetDrillZ() |
Mill Turn Job |
Outputs the Z axis position at the depth of the hole with NO prefix
API: double MILLTURN_GetDrillZ() |
Mill Job |
Outputs the absolute value of the drilling depth with prefix. The prefix is defined on post question: 677
API: double MILL_GetAbsDrillDepth() |
Mill Turn Job |
Outputs the absolute value of the drilling depth with prefix. The prefix used depends on the orientation of the drilling operation. The prefixes are defined as follows: Mill (Face with Live Tooling) = Prefix defined on post question: 677 Lathe (Face with Static Tooling) = Prefix defined on post question: 677 Mill (Cross Drill with Live Tooling) = Prefix defined on post question: 3517
API: double MILLTURN_GetAbsDrillDepth() |
Mill Job |
Outputs the value for the reference plane with prefix. The value is defined with post question 557. The prefix is defined on post question: 649
API: double MILL_GetReferencPlaneHeight() |
Lathe Job |
Outputs the value for the reference plane with prefix. The prefix is defined on post question: 1849 |
Mill Turn Job |
Outputs the value for the reference plane with prefix. The prefix used for output depends on the orientation of the drilling operation. The prefixes are defined as follows: Mill (Face with Live Tooling) = Prefix defined on post question: 649 Lathe (Face with Static Tooling) = Prefix defined on post question: 649 Mill (Cross with Live Tooling) = Prefix defined on post question: 3514
API: double MILLTURN_GetReferencPlaneHeight() |
Mill Job |
Outputs the value for the initial plane with prefix. The prefix is defined on post question: 689
API: double MILL_GetInitialPlaneHeight() |
Lathe Job |
Outputs the value for the initial plane with prefix. The prefix is defined on post question: 1846 |
Mill Turn Job |
Outputs the value for the initial plane with prefix. The prefixes used for output depends on the orientation of the drilling operation. The prefixes are defined as follows: Mill (Face with Live Tooling) = Prefix defined on post question: 689 Lathe (Face with Static Tooling) = Prefix defined on post question: 1846 Mill (Cross with Live Tooling) = Prefix defined on post question: 3520
API: double MILLTURN_GetInitialPlaneHeight() |
Mill Job |
Outputs the value of the canned cycle feedrate with prefix. The prefix is defined on post question: 687
API: double MILL_GetCannedCycleFeedRate() |
Lathe Job |
Outputs the value of the canned cycle feedrate with prefix. The prefix is defined on post question: 1845 |
Mill Turn Job |
Outputs the value of the canned cycle feedrate with prefix. The prefix used for output depends on the orientation of the drilling operation. The prefixes are defined as follows: Mill (Face with Live Tooling) = Prefix defined on post question: 687 Lathe (Face with Static Tooling) = Prefix defined on post question: 1845 Mill (Cross with Live Tooling) = Prefix defined on post question: 3519
API: double MILLTURN_GetCannedCycleFeedRate() |
Mill Job |
Outputs the value of the peck drilling increment with prefix. The prefix is defined on post question: 676
API: double MILL_GetPeckDrillIncrement() |
Lathe Job |
Outputs the value of the peck drilling increment with prefix. The prefix is defined on post question: 1842 |
Mill Turn Job |
Outputs the value of the peck drilling increment with prefix. The prefix used for output depends on the orientation of the drilling operation. The prefixes are defined as follows: Mill (Face with Live Tooling) = Prefix defined on post question: 676 Lathe (Face with Static Tooling) = Prefix defined on post question: 1842 Mill (Cross with Live Tooling) = Prefix defined on post question: 3516
API: double MILLTURN_GetPeckDrillIncrement() |
Lathe Job |
Outputs the value of the peck drilling increment with prefix. The prefix is defined on post question: 1842
API: double LATHE_GetPeckIncrement() |
Mill Turn Job |
Outputs the value of the peck drilling increment with prefix. The prefix used for output depends on the orientation of the drilling operation. The prefixes are defined as follows: Mill (Face with Live Tooling) = Prefix defined on post question: 676 Lathe (Face with Static Tooling) = Prefix defined on post question: 1842 Mill (Cross with Live Tooling) = Prefix defined on post question: 3516
API: double MILLTURN_GetPeckIncrement() |
Mill Job |
Outputs the dwell value with prefix. The prefix is defined on post question: 607
API: double MILL_GetDwell() |
Lathe Job |
Outputs the dwell value with prefix. The prefix is defined on post question: 1847
API: short LATHE_GetDrillDwell() |
Mill Turn Job |
Outputs the dwell value with prefix. The prefix output depends on the operation type. Mill (Face and Cross drilling with Live Tooling) = 607 Lathe (Face drilling with Static Tooling) = 1847
API: double MILLTURN_GetDwell() |
Mill Turn Job |
Outputs the string defined for the Dwell code. The output string is defined on post question: 655
API: double MILLTURN_GetGDwell() |
Mill Job |
Outputs the dwell value with prefix. The prefix is defined on post question: 607
API: short MILL_GetDwellMilliseconds() |
Mill Turn Job |
Mill Job |
Outputs the incremental Z depth value with prefix. The prefix is defined on post question: 677 |
Mill Turn Job |
Outputs the incremental Z depth value with prefix. The prefix output depends on the type and orientation of the operation. Mill (Face with Live Tooling) = 677 Lathe (Face with Static Tooling) = 677 Mill (Cross with Live Tooling) = 3515 |
Mill Job |
Outputs the value for the first peck drill increment with prefix. The prefix is defined on post question: 675.
API: double MILL_GetPeckDrillFirstPeckAmount() |
Lathe Job |
Outputs the value for the first peck drill increment with prefix. The prefix is defined on post question: 1841. |
Mill Turn Job |
Outputs the value for the first peck drill increment with prefix. The prefix output depends on the type and orientation of the operation. Mill (Face with Live Tooling) = 675 Lathe (Face with Static Tooling) = 1841 Mill (Cross with Live Tooling) = 3515
API: double MILLTURN_GetFirstPeckDrillIncrement() |
Mill Job |
Outputs the Z axis position of the defined clearance in the Machine Setup with prefix. The prefix is defined on post question: 686.
API: double MILL_GetClearanceZ() |
Mill Turn Job |
Outputs the clearance position along the tool axis. The clearance position is defined in the Machine Setup. This value is output with a prefix. The prefix is mapped to the appropriate axis in the Prefix Mapping tables.
API: double MILLTURN_GetDrillClearance() |
Mill Job |
Outputs the Z axis position of the defined clearance in the Machine Setup with NO prefix.
API: double MILL_GetClearanceZ() |
Mill Turn Job |
Outputs the clearance position along the tool axis. The clearance position is defined in the Machine Setup. This value is output with NO prefix.
API: double MILLTURN_GetDrillClearance() |
rough_x_allowance (deprecated) (deprecated – used in v28 or previous)
|
|
Mill Job |
Outputs the roughing canned cycle X axis allowance value with prefix. The prefix is defined on post question: 1805
API: double LATHE_GetRoughXAllowance() |
Mill Turn Job |
Outputs the roughing canned cycle X axis allowance value with prefix. The prefix is defined on post question: 1805
API: double MILLTURN_GetRoughXAllowance() |
Lathe Job |
Outputs the roughing canned cycle X axis allowance value with prefix. The prefix is defined on post question: 1880
API: double LATHE_GetRoughCycleRoughXAllowance() |
Mill Turn Job |
Lathe Job |
Outputs the roughing and finish canned cycle X axis finish allowance value with prefix. Theprefix is defined on post question: 1882
API: double LATHE_GetRoughCycleFinishXAllowance() |
Mill Turn Job |
rough_z_allowance (deprecated) (deprecated – used in v28 or previous)
|
|
Mill Job |
Outputs the roughing canned cycle Z axis allowance value with prefix. The prefix is defined on post question: 1806
API: double LATHE_GetRoughZAllowance() |
Mill Turn Job |
Outputs the roughing canned cycle Z axis allowance value with prefix. The prefix is defined on post question: 1806
API: double MILLTURN_GetRoughZAllowance() |
Lathe Job |
Outputs the roughing canned cycle Z axis allowance value with prefix. The prefix is defined on post question: 1881
API: double LATHE_GetRoughCycleRoughZAllowance() |
Mill Turn Job |
Lathe Job |
Outputs the roughing and finish canned cycle Z axis finish allowance value with prefix. The prefix is defined on post question: 1883
API: double LATHE_GetRoughCycleFinishZAllowance() |
Mill Turn Job |
Lathe Job |
Outputs the roughing canned cycle depth of cut value with prefix. The prefix is defined on post question: 1804
API: double LATHE_GetRoughDepthOfCut() |
Mill Turn Job |
Outputs the roughing canned cycle depth of cut value with prefix. The prefix is defined on post question: 1804
API: double MILLTURN_GetRoughDepthOfCut() |
Lathe Job |
Outputs the roughing canned cycle depth of cut value needed for two line format with prefix. The prefix is defined on post question: 1804 |
Mill Turn Job |
Lathe Job |
Outputs the depth of cut for the one line canned cycle format with decimal format and prefix. The prefix is defined on post question: 1804 |
Mill Turn Job |
Lathe Job |
Outputs the depth of cut for the two line canned cycle format with decimal format and prefix. The prefix is defined on post question: 1804 |
Mill Turn Job |
Lathe Job |
Outputs the roughing canned cycle retract amount defined on post question: 1411 with a prefix. The prefix is defined on post question: 1807
API: double LATHE_GetRoughRetractAmount() |
Mill Turn Job |
Outputs the roughing canned cycle retract amount defined on post question: 1411 with a prefix. The prefix is defined on post question: 1807 |
Lathe Job |
Outputs the roughing canned cycle depth of cut in the X axis with prefix. The prefix is defined on post question: 1823 |
Mill Turn Job |
Lathe Job |
Outputs the roughing canned cycle depth of cut in the Z axis with prefix. The prefix is defined on post question: 1824 |
Mill Turn Job |
Lathe Job |
Outputs the roughing canned cycle depth of cut in the X axis with prefix with decimal format. The prefix is defined on post question: 1823 |
Mill Turn Job |
Lathe Job |
Outputs the roughing canned cycle depth of cut in the Z axis with prefix with decimal format. The prefix is defined on post question: 1824 |
Mill Turn Job |
Lathe Job |
Returns a value indicating if this current operation is a roughing operation or not.
0 = Not Rough 1 = Is Rough
API: string LATHE_GetIsRough() |
Mill Turn Job |
Lathe Job |
Outputs the value of the X axis spring pass. The value is output in diameter with prefix. The prefix is defined on post question: 1810
API: double LATHE_GetFinishXSpringPassStockDiameter() |
Mill Turn Job |
Outputs the value of the X axis spring pass. The value is output in diameter with prefix. The prefix is defined on post question: 1810
API: double MILLTURN_GetFinishXSpringPassStockDiameter() |
Lathe Job |
Outputs the value of the Z axis spring pass with prefix. The prefix is defined on post question: 1811
API: double LATHE_GetFinishZSpringPassStockDiameter() |
Mill Turn Job |
Outputs the value of the Z axis spring pass with prefix. The prefix is defined on post question: 1811
API: double MILLTURN_GetFinishZSpringPassStockDiameter() |
finish_x_allowance (deprecated) (deprecated – used in v28 or previous)
|
|
Mill Job |
Outputs the value of the X axis allowance as diameter value with prefix. The prefix is defined on post question: 1808
API: double LATHE_GetXFinishAllowance() |
Mill Turn Job |
Outputs the value of the X axis allowance as diameter value with prefix. The prefix is defined on post question: 1808
API: double MILLTURN_GetXFinishAllowance() |
finish_z_allowance (deprecated) (deprecated – used in v28 or previous)
|
|
Mill Job |
Outputs the value of the Z axis allowance with prefix. The prefix is defined on post question: 1809
API: double LATHE_GetZFinishAllowance() |
Mill Turn Job |
Outputs the value of the Z axis allowance with prefix. The prefix is defined on post question: 1809
API: double MILLTURN_GetZFinishAllowance() |
Lathe Job |
Outputs the number of finish cuts with prefix. The prefix is fixed to the “D” character. This variable outputs the numbers of passes in pattern repeat cycle (Fanuc G73) as well the number of finish passes for the threading cycle
API: short LATHE_GetFinishNumberOfCuts() |
Mill Turn Job |
Outputs the number of finish cuts with prefix. The prefix is fixed to the “D” character. This variable outputs the numbers of passes in pattern repeat cycle (Fanuc G73) as well the number of finish passes for the threading cycle
API: short MILLTURN_GetFinishNumberOfCuts() |
Lathe Job |
Outputs the X axis radius value of the stock for finish operations with prefix. The prefix is defined on post question: 1810
API: double LATHE_GetFinishXSpringPassStockRadius() |
Mill Turn Job |
Outputs the X axis radius value of the stock for finish operations with prefix. The prefix is defined on post question: 1810
API: double MILLTURN_GetFinishXSpringPassStockRadius() |
Lathe Job |
Outputs the Z axis value of the stock for finish operations with prefix. The prefix is defined on post question: 1811
API: double LATHE_GetFinishZSpringPassStockRadius() |
Mill Turn Job |
Outputs the Z axis value of the stock for finish operations with prefix. The prefix is defined on post question: 1811
API: double MILLTURN_GetFinishZSpringPassStockRadius() |
Lathe Job |
Outputs the number of finish cuts with prefix. The prefix is set to “R”.
API: short LATHE_GetFinishNumberOfCutsTwoLine() |
Mill Turn Job |
Outputs the number of finish cuts with prefix. The prefix is set to “R”.
API: short MILLTURN_GetFinishNumberOfCutsTwoLine() |
Lathe Job |
Returns a value indicating if this current operation is a finishing operation or not.
0 = Not Finish 1 = Is Finish
API: string LATHE_GetIsFinish() |
Mill Turn Job |
Lathe Job |
Returns the value calculated from the pattern repeat operation’s X Stock / Number of Cuts. Prefix is defined on post question: 1884
API: double LATHE_GetPatternRepeatDepthOfCutX() |
Mill Turn Job |
Lathe Job |
Returns the value calculated from the pattern repeat operation’s Z Stock / Number of Cuts. Prefix is defined on post question: 1885
API: double LATHE_GetPatternRepeatDepthOfCutZ() |
Mill Turn Job |
Lathe Job |
Returns the value to identify if the depth of cut is applied in the X or Z axis with prefix defined on post question: 1797
0 = Front Face / Back Face 1 = OD/ID
API: short LATHE_GetPatternRepeatFagorA() |
Mill Turn Job |
Lathe Job |
Outputs the X axis value for the bottom of the groove with prefix. The prefix is defined on post question: 1813
API: double LATHE_GetGrooveXBottom() double MILLTURN_GetGrooveXBottom() |
Mill Turn Job |
Lathe Job |
Outputs the Z axis value for the bottom of the groove with prefix. The prefix is defined on post question: 1814
API: double LATHE_GetGrooveZBottom() double MILLTURN_GetGrooveZBottom() |
Mill Turn Job |
Lathe Job |
Outputs the peck increment for the groove with prefix. The prefix is defined on post question: 1816
API: double LATHE_GetGroovePeckIncrement() double MILLTURN_GetGroovePeckIncrement() |
Mill Turn Job |
Lathe Job |
Outputs the depth of cut value for the groove with prefix. The prefix is defined on post question: 1815
API: double LATHE_GetGrooveDepthOfCut() double MILLTURN_GetGrooveDepthOfCut() |
Mill Turn Job |
Lathe Job |
Outputs the retract amount for the groove cycle with prefix. The prefix is defined on post question: 1812 The value output is defined on post question: 1412
API: double LATHE_GetGrooveCycleRetract() double MILLTURN_GetGrooveDepthOfCut() |
Mill Turn Job |
Lathe Job |
This variable outputs “R0.0000” only. This is typically used in two-line canned cycle format which denotes the relief amount at the end of the cut. |
Mill Turn Job |
Lathe Job |
Outputs the dwell value with prefix. The prefix is defined on post question: 1825.
API: double LATHE_GetDrillDwell() double MILLTURN_GetDrillDwell() |
Mill Turn Job |
Lathe Job |
Outputs the first peck value with prefix. The prefix is defined on post question: 1841.
API: double LATHE_GetFirstPeck() double MILLTURN_GetFirstPeck() |
Mill Turn Job |
Lathe Job |
Outputs the peck clearance value with the prefix defined on post question: 1826.
API: double LATHE_GetPeckClearance() double MILLTURN_GetPeckClearance() |
Mill Turn Job |
Lathe Job |
Outputs the peck retract value with prefix. The prefix is defined on post question: 1827.
API: double LATHE_GetPeckRetract() double MILLTURN_GetPeckRetract() |
Mill Turn Job |
Lathe Job |
Outputs the string from post question 1821 |
Mill Turn Job |
Lathe Job |
Outputs the final Z axis position for the G32 tapping operation with prefix. The prefix is defined on post question: 686.
API: double LATHE_GetTapG32FinalZ() |
Mill Turn Job |
Lathe Job |
Returns the Z axis Final Z position for a canned tapping cycle.
API: string LATHE_GetTapCannedFinalZ() |
Mill Turn Job |
Lathe Job |
Outputs the initial Z axis position for the G32 tapping operation with prefix. The prefix is defined on post question: 686.
API: double LATHE_GetTapG32InitialZ() |
Mill Turn Job |
Lathe Job |
Outputs the string for left or right hand tapping based on the operation parameters. The outputs strings are defined on post questions: |
Mill Turn Job |
Lathe Job |
Outputs the string for right hand tapping. The output string is defined on post question: 1765 |
Mill Turn Job |
Lathe Job |
Outputs the string for left hand tapping. The output string is defined on post question: 1766 |
Mill Turn Job |
Lathe Job |
Outputs the tap reference plane value in decimal format with prefix. The prefix is defined on post question: 1820 |
Mill Turn Job |
Lathe Job |
Outputs the tap final Z depth in decimal format with prefix. The prefix is defined on post question: 686 |
Mill Turn Job |
Lathe Job |
Outputs the tap X value with prefix. The prefix is defined on post question: 684. With lathe operations this will always return a value of “0.000” |
Mill Turn Job |
Lathe Job |
Returns the X axis position for a canned tapping cycle.
API: double LATHE_GetTapCannedX() |
Mill Turn Job |
Lathe Job |
Outputs a call to post block 1027. This is normally used to put the machine in feed per revolution mode. |
Mill Turn Job |
Lathe Job |
Outputs a call to post block 1028. This is normally used to put the machine in feed per minute mode. |
Mill Turn Job |
Mill Job |
Outputs the tapping feedrate with prefix. The prefix is defined on post question:
API: double MILL_GetTappingFeedRate() |
Lathe Job |
Outputs the tapping feedrate with prefix. The prefix is defined on post question:
API: double LATHE_GetTapFeed() |
Mill Turn Job |
Outputs the tapping feedrate with prefix. The prefix output will be determined by the orientation and type of operation. The following determines the prefix output:
API: double MILLTURN_GetTapFeed() |
Lathe Job |
Returns the value identifying the tap thread direction.
0 = Right Hand 1 = Left Hand
API: string LATHE_GetTapThreadDirection() |
Mill Turn Job |
Mill Job |
Outputs the tapping spindle speed with prefix. The prefix is defined on post question: 696
API: double MILL_GetTappingSpindleSpeed() |
Mill Turn Job |
Outputs the tapping spindle speed with prefix. The prefix output will be determined by the orientation and type of operation. The following determines the prefix output:
API: double MILLTURN_GetTappingSpindleSpeed() |
Mill Job |
Outputs the number of threads per inch in Inch mode and threads per millimeter in Metric mode with prefix. The prefix is defined on post question: 697
API: double MILL_GetThreadsPerInch() double MILLTURN_GetThreadsPerInch() |
Mill Turn Job |
Mill Job |
Outputs the pitch of the thread with prefix. The prefix is defined on post question:
API: double MILL_GetThreadsPitch() |
Lathe Job |
Outputs the lead of the thread with prefix. The prefix is defined on post question: |
Mill Turn Job |
Outputs the pitch of the thread with prefix. The prefix is defined based on the orientation/type of operation. The prefix is output as follows: Mill (Face and Cross with Live Tooling) = Prefix defined on post question: 698 Lathe(Face with Static Tooling) = Prefix defined on post question: 705
API: double MILLTURN_GetThreadPitch() |
Lathe Job |
Outputs the final X axis diameter value for the thread with prefix. The prefix is defined on post question: 684.
API: double LATHE_GetThreadX2() |
Mill Turn Job |
Outputs the final X axis diameter value for the thread with prefix. The prefix mapping blocks are 5000 through 5049 for absolute, and 5050 through 5099 for incremental. If prefix is not defined in the prefix blocks, then prefix specified in post question 684 will be used. API: double MILLTURN_GetThreadX2() |
Lathe Job |
Outputs the final Z axis value for the thread with prefix. The prefix is defined on post question: 686.
API: double LATHE_GetThreadZ2() |
Mill Turn Job |
Outputs the final Z axis value for the thread with prefix. The prefix mapping blocks are 5000 through 5049 for absolute, and 5050 through 5099 for incremental. If prefix is not defined in the prefix blocks, then prefix specified in post question 686 will be used.
API: double MILLTURN_GetThreadZ2() |
Lathe Job |
Returns the value for the thread X move in a long hand threading cycle. This does not update with values when in a canned threading cycle.
API: double LATHE_GetThreadXMove() |
Lathe Job |
Returns the value for the thread Z move in a long hand threading cycle. This does not update with values when in a canned threading cycle.
API: double LATHE_GetThreadZMove() |
Lathe Job |
Outputs the string value that defines the thread start angle. The output string is defined on post question: 1712. |
Mill Turn Job |
Lathe Job |
Outputs the string value that defines the thread end angle. The output string is defined on post question: 1713. |
Mill Turn Job |
Lathe Job |
This returns a value based on the setting for the Canned Cycle Chamfer Cut option in the feature UI pages.
0 = OFF 1 = ON
API: short LATHE_GetUseThreadAngleOut() |
Mill Turn Job |
Lathe Job |
Returns the value for the thread feedrate when the threading cycle type is set to separate moves.
API: double LATHE_GetThreadFeedRate() |
Mill Turn Job |
Lathe Job |
Outputs the thread height value with prefix. The prefix is defined on post question: 1793.
API: short LATHE_GetThreadHeight() short MILLTURN_GetThreadHeight() |
Mill Turn Job |
Lathe Job |
Outputs the thread height value as decimal with prefix. The prefix is defined on post question: 1793.
API: short LATHE_GetThreadHeight() short MILLTURN_GetThreadHeight() |
Mill Turn Job |
Lathe Job |
Outputs the thread first cut value with prefix. The prefix is defined on post question: 1792.
API: double LATHE_GetThreadFirstCut() double MILLTURN_GetThreadFirstCut() |
Mill Turn Job |
Lathe Job |
Outputs the thread first cut value as decimal with prefix. The prefix is defined on post question: 1792. |
Mill Turn Job |
Lathe Job |
Outputs the angle in value for thread operations with prefix. The prefix is defined on post question: 1794.
API: double LATHE_GetAngleIn() double MILLTURN_GetAngleIn() |
Mill Turn Job |
Lathe Job |
Outputs the angle in value, as decimal, for thread operations with prefix. The prefix is defined on post question: 1794. |
Mill Turn Job |
Lathe Job |
Outputs the number of leads value specified for threading canned cycle chamfer out . The prefix is defined on post question: 1798.
API: GetDoubleOfPostVariable(thread_chamfer_numofleads) |
Mill Turn Job |
Lathe Job |
Outputs the calculated chamfer distance in threading canned cycle. The value is calculated by Number of leads for canned cycle chamfer out multiplied by the pitch value. The prefix is defined on post question: 1799
API: GetDoubleOfPostVariable(thread_chamfer_distance) |
Mill Turn Job |
Lathe Job |
This returns the angle (in degrees) of the line selected for the threading operation.
API: double LATHE_GetThreadAngle() |
Mill Turn Job |
Lathe Job |
Outputs the thread last cut amount with prefix. The prefix is defined on post question: 1795.
API: double LATHE_GetThreadLastCut() double MILLTURN_GetThreadLastCut() |
Mill Turn Job |
Lathe Job |
Outputs the thread machine allowance value with prefix. The prefix is defined on post question: 1796. The allowance value is defined on post question: 1413.
API: double LATHE_GetThreadMachineAllowance() double MILLTURN_GetThreadMachineAllowance() |
Mill Turn Job |
Lathe Job |
Outputs the string used to put the machine in separate moves type threading mode. The string output is defined on post question: 680.
API: string LATHE_GetG33GCode() |
Mill Turn Job |
Outputs the string used to put the machine in separate moves type threading mode. The string output is defined on post question: 1797.
API: string MILLTURN_GetThreadG33GCode() |
Lathe Job |
Outputs the X axis position of the G33 type threading cycle with prefix. The prefix is defined on post question: 684. |
Mill Turn Job |
Lathe Job |
Outputs the Z axis position of the G33 type threading cycle with prefix. The prefix is defined on post question: 686. |
Mill Turn Job |
Lathe Job |
Outputs the threading feedrate value with prefix. The prefix is defined on post question: 1708
(This Post variable uses the prefix defined in the Post question 1707 if the Post question 1708 is not defined in the Post Processor. V34 & previous versions doesn't support 1708.)
|
Mill Turn Job |
Lathe Job |
Outputs the thread taper height with prefix. The prefix is defined on post question:
API: double LATHE_GetTaperHeight() |
Mill Turn Job |
Mill Turn Job |
Outputs the string defined for Lathe Face Threading cycles. The string output is defined on post question: 1877
API: string MILLTURN_GetThreadFaceCode() |
Mill Turn Job |
Outputs the string defined for Lathe OD/ID Threading cycles. The string output is defined on post question: 1876
API: string MILLTURN_GetThreadTurnCode() |
Mill Turn Job |
Outputs the string defined for canceling Turning/Threading canned cycles. The output string is defined on post question: 1878
API: string MILLTURN_GetCancelCannedCycle() |
Mill Job |
Outputs the reference height for the Heidenhain machines with prefix. The prefix is set to “P01”
API: double MILL_GetHeidenReferenceHeight() double MILLTURN_GetHeidenReferenceHeight() |
Mill Turn Job |
Mill Job |
Outputs the depth value for the Heidenhain machines with prefix. The prefix is set to “P02”
API: double MILL_GetHeidenDepth() double MILLTURN_GetHeidenDepth() |
Mill Turn Job |
Mill Job |
Outputs the peck increment value for the Heidenhain machines with prefix. The prefix is set to “P03”
API: double MILL_GetHeidenPeckIncrement() double MILLTURN_GetHeidenPeckIncrement() |
Mill Turn Job |
Mill Job |
Outputs the dwell value for the Heidenhain machines with prefix. The prefix is set to “P04”
API: double MILL_GetHeidenDwell() double MILLTURN_GetHeidenDwell() |
Mill Turn Job |
Mill Job |
Outputs the plunge feedrate with prefix. The prefix is set to “P05”
API: double MILL_GetHeidenPlungeRate() double MILLTURN_GetHeidenPlungeRate() |
Mill Turn Job |
Spindle Codes
Mill Job |
Outputs the spindle speed for milling with prefix. The prefix is defined on post question: 605.
API: short MILL_GetSpindleSpeed() |
Lathe Job |
Outputs the spindle speed for turning with prefix. The prefix is defined on post question: 605
API: short LATHE_GetFinishSpindleSpeed() short LATHE_GetCssRpm() short LATHE_GetFinishCssRpm() |
Mill Turn Job |
Outputs the spindle speed for the operation. The prefix output will depend on the operation being performed. The prefixes will be output as follows:
API: short MILLTURN_GetSpindleSpeed() |
Lathe Job |
Returns the codes defined for CSS and RPM from post questions: 1785 = CSS Code 1786 = RPM Code
API: string LATHE_GetSpindleSpeedCode() |
Mill Turn Job |
Lathe Job |
Returns the codes defined for CSS and RPM from post questions: 1785 = CSS Code 1786 = RPM Code
API: string LATHE_GetFinishSpindleSpeedCode() |
Mill Turn Job |
Mill Job |
Outputs the spindle speed with NO prefix. |
Mill Turn Job |
Lathe Job |
Outputs the spindle ON code and the spindle speed value with prefix. The spindle ON code for CSS is defined on post question: 1785. The spindle speed value prefix is defined on post question: 605. |
Mill Turn Job |
Outputs the spindle ON code and the spindle speed value with prefix. The spindle ON code comes from the active Workpiece device and is defined as follows: The spindle speed prefix is defined on post question: 605 |
Lathe Job |
Outputs the spindle ON code and the spindle speed value with prefix. The spindle ON code for RPM is defined on post question: 1786. The spindle speed value prefix is defined on post question: 605. |
Mill Turn Job |
Outputs the spindle ON code and the spindle speed value with prefix. The spindle ON code comes from the active Workpiece device and is defined as follows: The spindle speed prefix is defined on post question: 605 |
Lathe Job |
Outputs the code for RPM or CSS based on the active mode set in the operation. The RPM code is defined on post question: 1786. The CSS code is defined on post question: 1785. |
Mill Turn Job |
Lathe Job |
Outputs the spindle speed code for the finish cycle of an operation. |
Lathe Job |
Outputs the spindle speed with prefix. The prefix is defined on post question: 605
API: short LATHE_GetCssRpm() |
Mill Turn Job |
Lathe Job |
Outputs the finish pass spindle speed with prefix. The prefix is defined on post question: 1781
API: short LATHE_GetFinishSpindleSpeed() |
Mill Job |
Outputs the maximum spindle speed with prefix. The prefix is defined on post question:609
API: short MILL_GetMaximumSpindleSpeed() |
Lathe Job |
Outputs the maximum spindle speed with prefix. The prefix is defined on post question: 609
API: short LATHE_GetMaximumSpindleSpeed() |
Mill Turn Job |
Outputs the maximum spindle speed with prefix. The prefix output depends on the operation type. The prefix will be output as the following:
API: short MILLTURN_GetMaximumSpindleSpeed() |
Mill Job |
Outputs the gear range string based on the current spindle speed and the high range speed defined on post question: 431. For speeds lower than the defined value the system calls post block 20. For speeds higher than the defined value the system calls post block 21. |
Mill Turn Job |
Outputs the gear range string based on the active Tool Device and the gear ranges defined on post questions: 20x20 through 20x24. The strings that are output are |
Lathe Job |
Outputs the gear range string based on the current spindle speed and the defined ranges on post questions: 1517 through 1526. The strings output are defined on post questions: 1831 through 1840.
API: string LATHE_GetSpindleGear() |
Mill Turn Job |
Outputs the gear range string based on the current active Workpiece Device, spindle speed and the defined ranges on post questions: 10x24 through 10x33. The strings |
Mill Job |
Outputs a Null character into the NC program |
Mill Turn Job |
Mill Job |
Outputs the Z axis spindle speed with NO prefix. |
Mill Turn Job |
Mill Job |
Outputs the Z axis spindle speed with NO prefix. The prefix is defined on post question: 605 |
Mill Turn Job |
Outputs the Z axis spindle speed with prefix. The prefix is defined based on the active axis and the prefix mapping table in the post processor. |
Mill Turn Job |
Used to determine if the spindle is in CSS or RPM mode. Return Values: 0 = CSS 1 = RPM
API: short MILLTURN_GetSpindleMode() |
Lathe Job |
Get the value of the pos_rpm variable.
API: short LATHE_GetPosRpm() |
Mill Turn Job |
Lathe Job |
Get the previous value of the pos_rpm variable.
API: short LATHE_GetPrevPosRpm() |
Mill Turn Job |
Tool
Mill Job |
Outputs the tool number with the prefix that is set to “T”. Decimal places used for the output formatting is defined on post question: 215.
API: short MILL_GetToolNumber() |
Lathe Job |
Outputs the tool number with prefix. The prefix is defined on post question: 1781. The number of places used for output is defined on post question: 1513 and the overall output format is defined on post question: 1512. Reference the Tool Format section of this document for the available options.
NOTE: Only 1 through 5 are valid for Lathe Jobs.
API: short LATHE_GetToolNumber() |
Mill Turn Job |
Outputs the tool number with the prefix that is set to “T”. The overall output format is defined on post question: 20x30 and 20x31. Reference the Tool Format section of this document for the available options.
API: short MILLTURN_GetToolNumber() |
Mill Job |
Outputs the tool number with NO prefix. The decimal places used for the output formatting is defined on post question: 215 |
Lathe Job |
Outputs the tool number with NO prefix. The number of decimal places used for output id defined on post question: 1513. The final output get the value from post question: 240 added to it.
API: short LATHE_GetToolNumberT1() |
Mill Turn Job |
Outputs the tool number with NO prefix. The decimal places used for the output formatting is defined on post question: 215 |
Mill Job |
Outputs the tool number with NO prefix. The decimal places used for output is defined on post question: 215 |
Lathe Job |
Outputs the tool number with NO prefix. The decimal places used for output is defined on post question: 1513. The final output get the value from post question: 241 added to it.
API: short LATHE_GetToolNumberT2() |
Mill Turn Job |
Outputs the tool number with NO prefix. The decimal places used for output is defined on post question: 215 |
Lathe Job |
Outputs the finish tool number of a feature with prefix. The prefix is defined on post question: 1781
API: short LATHE_GetFinishToolNumber() |
Mill Turn Job |
Mill Job |
Outputs the first tool number with NO prefix.
API: double MILL_GetFirstToolNumber() double LATHE_GetFirstToolNumber() double MILLTURN_GetFirstToolNumber() |
Lathe Job |
|
Mill Turn Job |
Mill Job |
Outputs the first tool number with prefix. The prefix is set to “T”. |
Mill Turn Job |
Mill Job |
Outputs the next tool number with NO prefix.
API: double MILL_GetNextToolNumber() double LATHE_GetNextToolNumber() double MILLTURN_GetNextToolNumber() |
Lathe Job |
|
Mill Turn Job |
Mill Job |
Outputs the next tool number with prefix. The prefix is set to “T”. |
Mill Turn Job |
Mill Job |
Outputs the current tool number with a space and then the offset number. The tool number prefix is set to the letter “T”. The offset has no prefix. |
Mill Turn Job |
Mill Job |
Outputs the next tool number with a space and then the offset number. The tool number prefix is set to the letter “T”. The offset has no prefix. |
Mill Turn Job |
Mill Turn Job |
Outputs the string defined on post question: 654. This code defines the command used to initiate a tool change on the machine. This code will only be output if the active tool device post question 20x30 is set to a value of 7 or 8.
API: string MILLTURN_GetToolchangeCode() |
Mill Turn Job |
Returns the Suffix Code of the current tool with NO prefix. This is a string value with NO prefix commonly used for Mazak tool numbering.
API: string MILLTURN_GetSuffixCode() |
Mill Turn Job |
Returns the Suffix Code of the next tool with NO prefix. This is a string value with NO prefix commonly used for Mazak tool numbering.
API: string MILLTURN_GetNextSuffixCode() |
Mill Turn Job |
Outputs the orientation number in a 2 digit format with NO prefix. Used for Mazak tool numbering. The value output comes from the Tool Orientation Mapping questions in the post (5200 through 5208). The Tool Orientation Control parameters in a turning feature is used to define the output.
API: string MILLTURN_GetToolOrientation() This returns the mapped string integer MILLTURN_GetToolOrientationIndex() This returns the orientation index value |
Lathe Job |
Returns the current tool orientation. (Number 1-8)
API: short LATHE_GetToolOrientation() |
Mill Turn Job |
Mill Turn Job |
Returns the current tools mounting orientation integer from the tool crib.
API: integer MILLTURN_GetToolMountingOrientation() |
Lathe Job |
Returns the tool number formatted with the offset canceled (T0100) The prefix is defined on post question: 1781
API: string LATHE_GetSpecialToolNumber() string MILLTURN_GetSpecialToolNumber() |
Mill Turn Job |
Lathe Job |
Returns the tool number formatted with the offset canceled (T0100) The prefix is defined on post question: 1781
API: string LATHE_GetFinishSpecialToolNumber() string MILLTURN_GetFinishSpecialToolNumber() |
Mill Turn Job |
Lathe Job |
Outputs the current line number |
Mill Turn Job |
Lathe Job |
Outputs the current line number |
Mill Turn Job |
Lathe Job |
Outputs the tool number with NO prefix. |
Mill Turn Job |
Lathe Job |
Outputs the tool number for finishing operation with NO prefix. |
Mill Turn Job |
Lathe Job |
Outputs the tool number with a prefix defined on post question 1781. |
Mill Turn Job |
Mill Job |
Outputs the tool list number with NO prefix. |
Mill Turn Job |
Mill Job |
Outputs the value of the diameter of the milling tool with NO prefix.
API: double MILL_GetToolDiameter() double MILLTURN_GetToolDiameter() |
Mill Turn Job |
Mill Job |
Outputs the value of the radius of the milling tool with NO prefix.
API: double MILL_GetToolRadius() double MILLTURN_GetToolRadius() |
Mill Turn Job |
Mill Job |
Outputs the string containing the tool name. The names that are output are the tool types that can be seen in the tool crib.
API: string MILL_GetToolName() string MILLTURN_GetToolName() |
Mill Turn Job |
Mill Job |
Outputs the protrusion length of the tool with NO prefix.
API: double MILL_GetToolProtrusionLength() double MILLTURN_GetToolProtrusionLength() |
Mill Turn Job |
Mill Job |
Outputs the length of the tool with NO prefix.
API: double MILL_GetToolLength() double MILLTURN_GetToolName() |
Mill Turn Job |
Feed Rate
Mill Job |
Outputs the current feed rate value with prefix. The prefix is defined on post question: 606
API: double MILL_GetFeedRate() |
Mill Turn Job |
Outputs the current feed rate value with prefix. The prefix output depends on the orientation and type of operation. The prefix is defined as follows:
API: double MILLTURN_GetFeedRate() |
Mill Job |
Outputs the current feed rate with prefix. The prefix is defined on post question: |
Lathe Job |
Outputs the current feedrate with prefix. The prefix is based on Feed Per Minute or Feed Per Revolution. The prefixes output are defined as follows: |
Mill Turn Job |
Outputs the current feed rate with prefix. The prefix is defined based on the orientation/type of operation. |
Mill Job |
This is a command that forces the output of the feed rate on lines following it’s use. |
Mill Turn Job |
Mill Job |
This is a command that suppresses the output of the feed rate on the line. |
Mill Turn Job |
Mill Job |
Outputs the feedrate from post block 51 with a value representing the Z axis(Plunge) feedrate. The prefix output is defined on post question: 705 |
Mill Turn Job |
Mill Job |
Outputs the string that defines Inverse Time feed mode on the machine. The string output is defined on post question: 714 |
Mill Turn Job |
Mill Job |
Outputs the string that defines Unit Per Minute feed mode on the machine. The string output is defined on post question: 715 |
Mill Turn Job |
Mill Turn Job |
feed_mode_uprOutputs the string that defines Unit Per Revolution feed mode on the machine. The string output is defined on post question: 729 |
Lathe Job |
Outputs the feed rate for Unit per Minute with prefix string defined on post question |
Mill Turn Job |
Outputs the feed rate for Unit Per Minute feed with prefix. The prefix string is defined based on operation type as follows:
API: string MILLTURN_GetFeedRateUPM() |
Mill Turn Job |
Outputs the feed rate for Unit Per Revolution feed with prefix. The prefix string is defined based on operation type as follows:
API: string MILLTURN_GetFeedRateUPR() |
Lathe Job |
Outputs the strings that will put the machine in Feed Per Minute or Inverse Time mode on the machine. The strings output depend on the current mode determined by the operation. The strings are defined as follows:
API: short MILL_Get_FeedMode() short MILLTURN_Get_FeedMode() 0 = UPM 1 = Inverse Feed |
Mill Turn Job |
Mill Job |
Outputs the current feedrate with prefix. The output depends on the active feed mode (Unit Per Minute or Unit Per Revolution). The prefix output is defined as follows:
API: string LATHE_GetFinishFeedRate() |
Mill Turn Job |
Lathe Job |
Outputs the current feedrate with prefix. The output depends on the active feed mode (Unit Per Minute or Unit Per Revolution). The prefix output is defined as follows:
API: double LATHE_GetRoughFeedRate() |
Mill Turn Job |
Lathe Job |
Outputs the string defining the mode for the tapping cycle. The string output are as follows:
API: string LATHE_GetTapFeedMode() |
Mill Turn Job |
Outputs the string defining the mode for the tapping cycle. The string output are as follows:
API: string MILLTURN_GetTapFeedMode() |
Lathe Job |
Sets the feed mode for the tapping cycle. Post question: 1305 is the default setting for the tap mode.
0 = Unit Per Minute 1 = Unit Per Revolution
API: LATHE_SetTapFeedMode(short FeedMode) |
Lathe Job |
Returns the current finish feedrate.
API: double LATHE_GetFinishFeedRate() |
Lathe Job |
Returns the current feedrate.
API: double LATHE_GetFeedRate() |
Stock Feed Variables
Lathe Job |
Outputs the initial Z axis position of the stock with a prefix for the stock feed operation. The prefix is defined on post question: 686 |
Mill Turn Job |
Lathe Job |
Outputs the initial X axis position of the stock with a prefix for the stock feed operation. The prefix is defined on post question: 684 |
Mill Turn Job |
Lathe Job |
Outputs the value with the prefix from the stock feed operation for the X axis starting position. The prefix is defined on post question: 684 |
Mill Turn Job |
Lathe Job |
Outputs the value with the prefix from the stock feed operation for the Z axis starting position. The prefix is defined on post question: 686 |
Mill Turn Job |
Lathe Job |
Outputs the value with the prefix from the stock feed operation for the Z axis ending position. The prefix is defined on post question: 686 |
Mill Turn Job |
Lathe Job |
Outputs the tool value entered into the stock feed operation for the tool with prefix. The prefix is defined on post question: 1781 |
Mill Turn Job |
Lathe Job |
Outputs the value entered for the feedrate into the stock feed operation. |
Mill Turn Job |
Lathe Job |
Outputs the value entered for the rapid feedrate into the stock feed operation. |
Mill Turn Job |
Lathe Job |
Outputs the value entered into the stock feed operation for the Z axis home with prefix. The prefix is defined on post question: 686. |
Mill Turn Job |
Outputs the value entered into the stock feed operation for the Z axis home with prefix. The prefix is defined on post question: 1803. |
Lathe Job |
Outputs the value entered into the stock feed operation for the X axis home with prefix. The prefix is defined on post question: 684. |
Mill Turn Job |
Outputs the value entered into the stock feed operation for the X axis home with prefix. The prefix is defined on post question: 1801. |
Lathe Job |
Command that must be located in the first tool change block to output the stock feed as the first operation in a program. If you do not have this variable in the previously defined blocks and the part program has the stock feed operation as the very first feature the NC output will not be correct. |
Mill Turn Job |
Lathe Job |
Outputs the Z axis position for the Clamp position defined in the stock feed operation parameters. The prefix is defined on post question: 686 |
Mill Turn Job |
Outputs the Z axis position for the Clamp position defined in the stock feed operation parameters. The prefix is defined on post question: 1803. |
Lathe Job |
Outputs the X axis position for the Clamp Position defined in the stock feed operation parameters. The prefix is defined on post question: 686 |
Mill Turn Job |
Outputs the X axis position for the Clamp Position defined in the stock feed operation parameters. The prefix is defined on post question: 1803. |
Lathe Job |
Outputs the Z axis initial position defined in the stock feed operation. The prefix is defined on post question: 686 |
Mill Turn Job |
Outputs the Z axis initial position defined in the stock feed operation. The prefix is defined on post question: 1803. |
Lathe Job |
Outputs the Z axis end position defined in the stock feed operation. The prefix is defined on post question: 686 |
Mill Turn Job |
Outputs the Z axis end position defined in the stock feed operation. The prefix is defined on post question: 1803 |
Stroke Limit
Mill Turn Job |
Outputs the string that turns ON the Stroke Limit function on the machine’s controller. The output string is defined on post question: 3569 API: string MILLTURN_GetStrokeLimitOn() |
Mill Turn Job |
Outputs the string that turns OFF the Stroke Limit function on the machine’s controller. The output string is defined on post question: 3570
API: string MILLTURN_GetStrokeLimitOff() |
Mill Turn Job |
Outputs the value with prefix used to define the 1st point X position for the stroke limit. The prefix is defined on post question: 3571
API: string MILLTURN_GetStrokeLimitX() |
Mill Turn Job |
Outputs the value with prefix used to define the 1st point Y position for the stroke limit. The prefix is defined on post question: 3572
API: dtring MILLTURN_GetStrokeLimitY() |
Mill Turn Job |
Outputs the value with prefix used to define the 1st point Z position for the stroke limit. The prefix is defined on post question: 3573
API: string MILLTURN_GetStrokeLimitZ() |
Mill Turn Job |
Outputs the value with prefix used to define the 2nd point X position for the stroke limit. The prefix is defined on post question: 3574
API: string MILLTURN_GetStrokeLimitI() |
Mill Turn Job |
Outputs the value with prefix used to define the 2nd point Y position for the stroke limit. The prefix is defined on post question: 3575
API: string MILLTURN_GetStrokeLimitJ() |
Mill Turn Job |
Outputs the value with prefix used to define the 2nd point Z position for the stroke limit. The prefix is defined on post question: 3576
API: string MILLTURN_GetStrokeLimitK() |
Torque Skip
Mill Turn Job |
Outputs the string that puts the machine in Torque Skip Mode (Used in part transfers) The output string is defined on post question 3566.
API: string MILLTURN_GetTorqueSkip() |
Mill Turn Job |
Outputs the string that is used to enable the torque limit mode on the machine. The output string is defined on post question: 3567
API: string MILLTURN_GetTorqueLimitOn() |
Mill Turn Job |
Outputs the string that cancels the torque limit mode on the machine. The output string is defined on post question: 3568
API: string MILLTURN_GetTorqueLimitCancel() |
Offset
Mill Job |
Outputs the string representing the compensation OFF command. The output string is defined on post question: 639 |
Lathe Job |
|
Mill Turn Job |
Mill Job |
Forces the output of the cancel cutter compensation code. The string is defined on post question: 639 |
Mill Turn Job |
Mill Job |
Outputs the tool diameter offset value with prefix. The prefix string is defined on post question: 678
API: double MILL_GetToolDiamCompNumber() double MILL_GetToolDiamCompNumberWithAddAmount() |
Lathe Job |
Outputs the offset value with no formatting or prefix. |
Mill Turn Job |
Outputs the tool diameter offset value with prefix. The prefix string is defined on post question: 678
API: double MILLTURN_GetToolDiamCompNumber() |
Mill Job |
Outputs the tool diameter offset value with NO prefix. |
Lathe Job |
Outputs the offset in a format determined by post question: 513. The value is output with NO prefix. |
Mill Turn Job |
Outputs the tool diameter offset value with NO prefix. |
Mill Job |
Outputs the length offset value with NO prefix.
API: double MILL_GetToolLengthCompNumber() |
Lathe Job |
Outputs the offset value formatted by post question: 1513
API: double LATHE_GetLengthOffsetNumber() |
Mill Turn Job |
Outputs the length offset value with NO prefix.
API: double MILLTURN_GetToolLengthOffsetNumber() |
Mill Job |
Outputs a call to post block: 14 that is used to format and output the tool length offset commands. |
Lathe Job |
|
Mill Turn Job |
Laser Plasma Waterjet
Mill Job |
Returns the diameter of the laser/plasma/waterjet tool for the current operation with prefix. The prefix is defined on post question: 750
API: double MILL_GetLPWCutterWidth() |
Mill Job |
Returns the Z pierce height for laser/plasma/waterjet tools with prefix. The prefix is defined on post question: 751
API: double MILL_GetLPWPierceHeight() |
Mill Job |
Returns the status of the cutter ON and OFF option in the LPW tool page.
0 = OFF – Code defined on post question: 752 1 = ON – Code defined on post question: 753
API: short MILL_GetLPWIsCutterOnOff() |
Mill Job |
Returns the Cutter ON string from block 752.
API: double MILL_GetLPWGetCutterOnString() |
Mill Job |
Returns the Cutter OFF string from block 753.
API: double MILL_GetLPWGetCutterOffString() |
Mill Job |
Returns the status of the Gas Assist option in the LPW Tool page.
0 = OFF – String from post question: 761 1 = ON – String from post question: 760
API: short MILL_GetLPWIsGasAssistOnOff() |
Mill Job |
Returns the Gas Assist ON string from post question:760.
API: string MILL_GetLPWGetGasAssistOnString() |
Mill Job |
Returns the Gas Assist OFF string from post question: 761.
API: string MILL_GetLPWGetGasAssistOffString() |
Mill Job |
Returns the type of Gas Assist selected in the LPW Tool page.
0 = Air – String from post question: 762 1 = Oxygen – String from post question: 763 2 = Oxyacetylene – String from post question: 764
API: short MILL_GetLPWIsGasAssistType() |
Mill Job |
Returns the Gas Assist Air string from post question 762.
API: string MILL_GetLPWGetGassAssistAirString() |
Mill Job |
Returns the Gas Assist Oxygen string from block 763.
API: string MILL_GetLPWGetGasAssistOxygenString() |
Mill Job |
Returns the Gas Assist Oxyacetylene string from block 764.
API: string MILL_GetLPWGetGasAssistOxyacetyleneString() |
Mill Job |
Returns the Shutter Open string from post question: 765
API: string MILL_GetLPWGetShutterOpenString() |
Mill Job |
Returns the Shutter Open/Closed state. |
Mill Job |
Returns the Shutter Closed string from post question: 766
API: string MILL_GetLPWGetShutterClosedString() |
Mill Job |
Returns the Laser Pulse Frequency specified on the Tool page. The prefix is defined on post question: 767
API: short MILL_GetLPWGetPulseFrequency() |
Mill Job |
Returns the Laser Power setting specified on the LPW tool page with prefix. The prefix is defined on post question: 768
API: short MILL_GetLPWPowerSetting() |
Mill Job |
Returns the value specified in the Torch Height Control on the LPW tool page with prefix. The prefix is defined on post question: 769
API: short MILL_GetLPWTorchHeightControl() |
Mill Job |
Outputs the abrasive on or off code based on what is selected in the machining feature. |
Mill Job |
Outputs the abrasive ON command. The string is defined on post question: 780 |
Mill Job |
Outputs the abrasive OFF command. The string is defined on post question: 781 |
Mill Job |
Outputs the vacuum on or off code based on what is selected in the machining feature. |
Mill Job |
Outputs the vacuum ON code. The string is defined on post question: 782 |
Mill Job |
Outputs the vacuum OFF code. The string is defined on post question: 783 |
Mill Job |
Outputs the pressure command based on selection in the machining feature. |
Origin Tracking
Mill Job |
Outputs the string to turn ON the origin tracking on the machine. The string output is defined on post question: 730 |
Mill Turn Job |
Mill Job |
Outputs the string to turn OFF the origin tracking on the machine. The string output is defined on post question: 731 |
Mill Turn Job |
RTCP Codes
Mill Job |
Outputs the string to turn ON the RTCP command on the machine. The string output is defined on post question: 720 |
Mill Turn Job |
Mill Job |
Outputs the string to turn OFF the RTCP command on the machine. The string output is defined on post question: 721 |
Mill Turn Job |
Mill Turn
Lathe Job |
Outputs the string used to turn ON Polar Milling mode. The string output is set to “G112” |
Mill Turn Job |
Lathe Job |
Outputs the string used to turn OFF Polar Milling mode. The string output is set to “G113” |
Mill Turn Job |
Mill Turn Job |
Outputs the string for the active mode.
The string values output depends on the active Workpiece device. The strings are defined on post questions: 10x18 and 10x19.
API: string MILLTURN_GetMTMode() |
Mill Turn Job |
Used to get the posting mode. The posting mode is found on the posting page of Mill Turn features. Return Values: 0 = Longhand 1 = Auto/Y Axis Mode 2 = Polar Interpolation Mode
API: short MILLTURN_GetPostingMode() |
Operation Type – API Only |
|
Mill Turn Job |
Used to determine of the operation is Mill or Lathe. Boolean value is returned.
API: boolean MILLTURN_IsLatheOperation() |
Mill Turn Job |
Used to determine if polar mode is active
API: boolean MILLTURN_IsPolarMode() |
Mill Turn Job |
Outputs the string value used to turn ON or OFF the Y Axis mode on the machine. The output strings are defined on post questions: ON = Post Question: 3590 OFF = Post Question: 3591 |
Mill Turn Job |
Outputs the string value used to turn OFF the Y Axis mode on the machine. The output string is defined on post question: 3591 |
MDI
Mill Turn Job |
This command variable specifies the location where the MDI blocks defined in the Before Tool Change task list should be output. |
Mill Turn Job |
This command variable specifies the location where the MDI blocks defined in the With Tool Change task list should be output. |
Mill Turn Job |
This command variable specifies the location where the MDI blocks defined in the After Operation task list should be output. |
Mill Turn Job |
A custom double variable that can be used inside of a custom MDI command to output a double value in the NC code. The name of the field that appears in the MDI UI is the “xxxx” which needs to be replaced with a meaningful name. |
Mill Turn Job |
A custom integer variable that can be used inside of a custom MDI command to output an integer value in the NC code. The name of the field that appears in the MDI UI is the “xxxx” which needs to be replaced with a meaningful name. |
Mill Turn Job |
A custom string variable that can be used inside of a custom MDI command to output a string in the NC code. The name of the field that appears in the MDI UI is the “xxxx” which needs to be replaced with a meaningful name. |
NOTE: Custom Tasks created in the "Task List" will dynamically create the variable that is used to trigger its
output. Whatever the task is named is used to create the variable name.
Example:
In the UI the task is named: "Custom Task". The variable name will be "MDI_CustomTask". Any
spaces in the task name will be removed in the variable name. Also note that
you cannot use the "_" character.
Tailstock
Mill Turn Job |
Outputs the code used to make the tailstock advance on the machine. The output string is defined for each tailstock device’s post question: 30x01
API: string MILLTURN_GetTailstockAdvanceCode() |
Mill Turn Job |
Outputs the code used to make the tailstock retract on the machine. The output string is defined for each tailstock device’s post question: 30x02
API: string MILLTURN_GetTailstockRetractCode() |
tailstock_advance_code_1 through tailstock_advance_code_10 |
|
Mill Turn Job |
Outputs the code used to make the tailstock advance on the machine. The output string is defined for each specific tailstock device’s post question: 30x01. The last number in the variable name defines the tailstock device that should be output.
API: string MILLTURN_GetTailstockAdvanceCodeOfDevice(int) |
tailstock_retract_code_1 through tailstock_retract_code_10 |
|
Mill Turn Job |
Outputs the code used to make the tailstock retract on the machine. The output string is defined for each specific tailstock device’s post question: 30x01. The last number in the variable name defines the tailstock device that should be output.
API: string MILLTURN_GetTailstockRetractCodeOfDevice(int) |
Steady Rest
Mill Turn Job |
Outputs the code used to open the stead rest on the machine. The output string is defined on the active stead rest’s post question: 40x01
API: string MILLTURN_GetSteadRestOpenCode() |
Mill Turn Job |
Outputs the code used to close the stead rest on the machine. The output string is defined on the active stead rest’s post question: 40x02
API: string MILLTURN_GetSteadRestCloseCode() |
Parts Catcher
Mill Turn Job |
Outputs the command from the active parts catcher device to advance the parts catcher on the machine. The output string is defined on each parts catcher device’s post question: 50x01
API: string MILLTURN_GetPartsCatcherAdvanceCode() |
Mill Turn Job |
Outputs the command from the active parts catcher device to retract the parts catcher on the machine. The output string is defined on each parts catcher device’s post question: 50x02
API: string MILLTURN_GetPartsCatcherRetractCode() |
parts_catcher_advance_code_1 through parts_catcher_advance_code_10 |
|
Mill Turn Job |
Outputs the command from the define parts catcher device to advance the parts catcher on the machine. The output string is defined on each parts catcher device’s post question: 50x01
API: string MILLTURN_GetPartsCatcherAdvanceCode_1() through string MILLTURN_GetPartsCatcherAdvanceCode_10() |
parts_catcher_retract_code_1 through parts_catcher_retract_code_10 |
|
Mill Turn Job |
Outputs the command from the define parts catcher device to retract the parts catcher on the machine. The output string is defined on each parts catcher device’s post question: 50x02
API: string MILLTURN_GetPartsCatcherRetractCode_1() through string MILLTURN_GetPartsCatcherRetractCode_10() |
Workpiece Device
Mill Turn Job |
This variable will call and process the code that is in the active workpiece device’s Command Block 1 postblock. |
Mill Turn Job |
This variable will call and process the code that is in the active workpiece device’s Command Block 2 postblock. |
Mill Turn Job |
This variable will call and process the code that is in the active workpiece device’s Command Block 3 postblock. |
Mill Turn Job |
This variable will call and process the code that is in the active workpiece device’s Command Block 4 postblock. |
Mill Turn Job |
This variable will call and process the code that is in the active workpiece device’s Command Block 5 postblock. |
Mill Turn Job |
This variable will call and process the code that is in the active workpiece device’s Command Block 6 postblock. |
Mill Turn Job |
This variable will call and process the code that is in the active workpiece device’s Command Block 7 postblock. |
Mill Turn Job |
This variable will call and process the code that is in the active workpiece device’s Command Block 8 postblock. |
Mill Turn Job |
This variable will call and process the code that is in the active workpiece device’s Command Block 9 postblock. |
Mill Turn Job |
Outputs the code from the active workpiece device for Rotary Index Forward. String output is defined in each workpiece on post question: 10x22
API: string MILLTURN_WorkpieceDeviceRotaryIndexForwardCode() |
Mill Turn Job |
Outputs the code from the active workpiece device for Rotary Index Reverse. String output is defined in each workpiece on post question: 10x23
API: string MILLTURN_WorkpieceDeviceRotaryIndexReverseCode() |
Mill Turn Job |
Outputs the enable code from the active workpiece device. The string output is defined in each workpiece on post question:10x00
API: string MILLTURN_GetWorkpieceDeviceEnable() |
Mill Turn Job |
Outputs the disable code from the active workpiece device. The string output is defined in each workpiece on post question: 10x01
API: string MILLTURN_GetWorkpieceDeviceDisable() |
Mill Turn Job |
Used to get the ID of the active workpiece device.
API: short MILLTURN_GetWorkpieceDeviceID() |
Mill Turn Job |
Outputs the code to make the active workpiece device’s chuck clamp onto the workpiece on the machine. The output string is defined on the active workpiece’s post question: 10x34.
API: string MILLTURN_GetChuckClamp() |
Mill Turn Job |
Outputs the code to make the active workpiece device’s chuck unclamp the workpiece on the machine. The output string is defined on the active workpiece’s post question:
API: string MILLTURN_GetChuckUnclamp() |
Mill Turn Job |
Outputs the code to enable spindle syncing on the machine. The output string is defined on the active workpiece’s post question: 10x36.
API: string MILLTURN_GetSpindleSync() |
Mill Turn Job |
Outputs the code to disable spindle syncing on the machine. The output string is defined on the active workpiece’s post question: 10x37.
API: string MILLTURN_GetSpindleUnsync() |
Mill Turn Job |
Outputs the string from the active workpiece’s block to enable the C axis Milling Mode on the machine. The output string is defined on each workpiece’s post question: 10x18.
API: string MILLTURN_GetCAxisEnable() |
Mill Turn Job |
Outputs the string from the active workpiece’s block to disable the C axis Milling Mode on the machine. The output string is defined on each workpiece’s post question: 10x19. API: string MILLTURN_GetCAxisDisable() |
Tool Device
Mill Turn Job |
This variable will call and process the code that is in the active tool device’s Command Block 1 postblock. |
Mill Turn Job |
This variable will call and process the code that is in the active tool device’s Command Block 2 postblock. |
Mill Turn Job |
This variable will call and process the code that is in the active tool device’s Command Block 3 postblock. |
Mill Turn Job |
This variable will call and process the code that is in the active tool device’s Command Block 4 postblock. |
Mill Turn Job |
This variable will call and process the code that is in the active tool device’s Command Block 5 postblock. |
Mill Turn Job |
This variable will call and process the code that is in the active tool device’s Command Block 6 postblock. |
Mill Turn Job |
This variable will call and process the code that is in the active tool device’s Command Block 7 postblock. |
Mill Turn Job |
This variable will call and process the code that is in the active tool device’s Command Block 8 postblock. |
Mill Turn Job |
This variable will call and process the code that is in the active tool device’s Command Block 9 postblock. |
Mill Turn Job |
Outputs the code to index in the forward direction on the machine. The output string is defined on each tool device’s post question: 20x18
API: string MILLTURN_GetToolDeviceRotaryIndexForwardCode() |
Mill Turn Job |
Outputs the code to index in the reverse direction on the machine. The output string is defined on each tool device’s post question: 20x19
API: string MILLTURN_GetToolDeviceRotaryIndexReverseCode() |
Mill Turn Job |
Outputs the code to enable the active tool device. The output string is defined on each tool device’s post question: 20x00
API: string MILLTURN_GetToolDeviceEnable() |
Mill Turn Job |
Outputs the code to disable the active tool device. The output string is defined on each tool device’s post question: 20x01
API: string MILLTURN_GetToolDeviceDisable() |
Mill Turn Job |
Used to get the ID of the active tool device.
API: short MILLTURN_GetToolDeviceID() |
Mill Turn Job |
Outputs the string from the active tool device to activate the spindle orientation on the machine. The output string is defined on each tool device’s post block:
API: string MILLTURN_GetSpindleOrientCode() |
Mill Turn Job |
Outputs the position of the spindle orientation with prefix for the active tool device. The value will come from the Tool Angle Control dialog found in each turning operation. The prefix is defined on each tool device’s post question: 20x06
API: string MILLTURN_GetSpindleOrientPosition() |
Mill Turn Job |
Outputs the position of the spindle orientation with NO prefix for the active tool device. The value will come from the Tool Angle Control dialog found in each turning operation. |
Zone
Mill Turn Job |
Outputs the command to enable a workzone on the machine. The output string is defined for each zone post block and the active zone determines the output. The zone 1 enable block is defined on post question: 6011.
API: string MILLTURN_GetZoneDeviceEnable() |
Mill Turn Job |
Outputs the command to disable a workzone on the machine. The output string is defined for each zone post block and the active zone determines the output. The zone 1 disable block is defined on post question: 6012.
API: string MILLTURN_GetZoneDeviceDisable() |
zone_device_enable_100 |
|
Mill Turn Job |
Outputs the command to enable a specific workzone on the machine. The output string is defined for each zone post block and the specified zone determines the output. The zone 1 enable block is defined on post question: 6011. The number at the end of the variable name defines the specific zone to output.
API: string MILLTURN_GetZoneDeviceEnableOfDevice(int) |
zone_device_disable_100 |
|
Mill Turn Job |
Outputs the command to disable a specific workzone on the machine. The output string is defined for each zone post block and the specified zone determines the output. The zone 1 disable block is defined on post question: 6012. The number at the end of the variable name defines the specific zone to output.
API: string MILLTURN_GetZoneDeviceDisableOfDevice(int) |
Mill Turn Job |
This variable will call and process the code that is found in the active Zone’s Command Block 1 postblock. |
Mill Turn Job |
This variable will call and process the code that is found in the active Zone’s Command Block 2 postblock. |
Mill Turn Job |
This variable will call and process the code that is found in the active Zone’s Command Block 3 postblock. |
Mill Turn Job |
This variable will call and process the code that is found in the active Zone’s Command Block 4 postblock. |
Mill Turn Job |
This variable will call and process the code that is found in the active Zone’s Command Block 5 postblock. |
Mill Turn Job |
Used to get the ID of the active work zone.
API: short MILLTURN_GetZoneID() |
Syncing Codes
Mill Turn Job |
This variable is used to output the system generated syncing code. The output is dependent on the setting of post question: 3603 The prefix of output sync codes is defined on post question: 3600 The sync code starting number is defined on post question: 3601 The sync code increment value is defined on post question: 3602 |
Mill Turn Job |
This variable is used to output the system generated syncing code with NO prefix. The output is dependent on the setting of post question: 3603 The sync code starting number is defined on post question: 3601 The sync code increment value is defined on post question: 3602 |
Mill Turn Job |
This variable is used to output the section starting code used to define the beginning of a section for syncing. The output string is defined in the tool device block 20x32. |
NCEditor Header Line
Predator Header Variables
Lathe Job |
Outputs the lathe tool home number needed for the predator header. The string prefix comes from post question: 1843 |
Mill Turn Job |
Lathe Job |
Outputs the lathe tool type with no prefix. |
Mill Turn Job |
Lathe Job |
Outputs the lathe tool cutting angle with NO prefix. |
Mill Turn Job |
Lathe Job |
Outputs the tool IC in decimal format with NO prefix. |
Mill Turn Job |
Lathe Job |
Outputs the tool angle with NO prefix. |
Mill Turn Job |
Lathe Job |
Outputs the tool corner radius value in decimal format with NO prefix. |
Mill Turn Job |
Lathe Job |
Outputs the tool height in decimal format with NO prefix. |
Mill Turn Job |
Lathe Job |
Outputs the tool diameter in decimal format with NO prefix. |
Mill Turn Job |
Lathe Job |
Outputs the tool orientation number with NO prefix. |
Mill Turn Job |
Lathe Job |
Outputs the end coordinate for lathe stock in decimal format with NO prefix. |
Mill Turn Job |
Lathe Job |
Outputs the diameter(x axis) of the stock in decimal format with NO prefix. |
Mill Turn Job |
Lathe Job |
Outputs the length of the stock(z axis) in decimal format with NO prefix. |
Mill Turn Job |
Lathe Job |
Outputs the ID of the stock in decimal format with NO prefix. |
Mill Turn Job |
Misc Codes
Mill Turn Job |
Outputs the string used to put the machine in offset value set mode. The string output is defined on post question: 3564
API: string MILLTURN_GetOffsetValueSet() |
Mill Turn Job |
Outputs the string used to cancel the machine offset value set mode. The string output is defined on post question: 3565
API: string MILLTURN_GetOffsetValueSetCancel() |
Mill Turn Job |
Outputs the code that is used to switch the machine to Machine Coordinates. The output string is defined on post question: 652
Commonly set to G53
API: string MILLTURN_GetMachineCoordinateCode() |
Mill Turn Job |
Outputs the code that is used to set coordinate system within the program. The output string is defined on post question: 622
Commonly set to G92 |
Mill Turn Job |
Outputs the code that is used to switch the machine to coordinates relative to the home position. The output string is defined on post question: 653
Commonly set to G28
API: string MILLTURN_GetMachineCoordinateCode() |
Mill Turn Job |
This command variable controls when the rotary rewind block 111 will be called in posting. The following logic is used for the output of this command variable: |
Mill Job |
Outputs the major Diameter value of the thread type used in tapping operation, only using the API GetDoubleOfPostVariable()
NOTE - This variable cannot be directly used inside a post processor since its only a variable that is a valid input to the GetDoubleOfPostVariable() API function |
Lathe Job |
|
Mill Turn Job |
Mill Job |
Outputs the minor Diameter value of the thread type used in tapping operation, only using the API GetDoubleOfPostVariable()
NOTE - This variable cannot be directly used inside a post processor since its only a variable that is a valid input to the GetDoubleOfPostVariable() API function |
Lathe Job |
|
Mill Turn Job |
Mill Job |
Outputs the pitch value of the thread type used in tapping operation, only using the API GetDoubleOfPostVariable()
NOTE - This variable cannot be directly used inside a post processor since its only a variable that is a valid input to the GetDoubleOfPostVariable() API function |
Lathe Job |
|
Mill Turn Job |
Mill Job |
Outputs the thread angle value of the thread type used in tapping operation, only using the API GetDoubleOfPostVariable()
NOTE - This variable cannot be directly used inside a post processor since its only a variable that is a valid input to the GetDoubleOfPostVariable() API function |
Lathe Job |
|
Mill Turn Job |
Mill Job |
Outputs the taper angle value of the thread type used in tapping operation, only using the API GetDoubleOfPostVariable()
NOTE - This variable cannot be directly used inside a post processor since its only a variable that is a valid input to the GetDoubleOfPostVariable() API function |
Lathe Job |
|
Mill Turn Job |
Mill Job |
Outputs the cutting hole size value for the thread type used in tapping operation, only using the API GetDoubleOfPostVariable()
NOTE - This variable cannot be directly used inside a post processor since its only a variable that is a valid input to the GetDoubleOfPostVariable() API function |
Lathe Job |
|
Mill Turn Job |
Mill Job |
Outputs the rolling hole size value for the thread type used in tapping operation, only using the API GetDoubleOfPostVariable()
NOTE - This variable cannot be directly used inside a post processor since its only a variable that is a valid input to the GetDoubleOfPostVariable() API function |
Lathe Job |
|
Mill Turn Job |
Probing Cycle Variables - Cycle Definitions
General
Mill Job |
This variable will output the string defined on post question: 4200 used for calling a macro.
Example String Values are:
|
Mill Job |
This variable will output the string defined on post question: 4201 used for turning on the probe on the machine tool.
Example String Values are:
|
Mill Job |
This variable will output the string defined on post question: 4202 used for turning off the probe on the machine tool.
Example String Values are:
|
Mill Job |
This variable will output the string defined on post question: 4203 used for defining the code for moving the probe with the protection mode turned on.
Example String Values are:
|
Mill Job |
Outputs the string entered in the Raw Text tab of the measure, contact tool setter, non-contact tool setter operations. This is typically used in the end of the operation block to output any additional code at the end of the probing cycle. |
Measure Cycles
Mill Job |
This variable will output the string defined on post question: 4204 used for defining the cycle code for X axis single surface cycle.
Example String Values are:
|
Mill Job |
This variable will output the string defined on post question: 4205 used for defining the cycle code for Y axis single surface cycle.
Example String Values are:
|
Mill Job |
This variable will output the string defined on post question: 4206 used for defining the cycle code for Z axis single surface cycle.
Example String Values are:
|
Mill Job |
This variable will output the string defined on post question: 4207 used for defining the code for a web probing cycle.
Example String Values are:
|
Mill Job |
This variable will output the string defined on post question: 4208 used for defining the code for a pocket probing cycle.
Example String Values are:
|
Mill Job |
This variable will output the string defined on post question: 4209 used for defining the code for a Boss probing cycle, using a 4 point method.
Example String Values are:
|
Mill Job |
This variable will output the string defined on post question: 4210 used for defining the code for a Bore probing cycle, using a 4 point method.
Example String Values are:
|
Mill Job |
This variable will output the string defined on post question: 4211 used for defining the code for a Boss probing cycle, using a 3 point method.
Example String Values are:
|
Mill Job |
This variable will output the string defined on post question: 4212 used for defining the code for a Bore probing cycle, using a 3 point method.
Example String Values are:
|
Mill Job |
This variable will output the string defined on post question: 4213 used for defining the code for an internal corner probing cycle.
Example String Values are:
|
Mill Job |
This variable will output the string defined on post question: 4214 used for defining the code for an external corner probing cycle.
Example String Values are:
|
Mill Job |
This variable will output the string defined on post question: 4215 used for defining the code for an external rectangle probing cycle using a 5 point method.
Example String Values are:
|
Mill Job |
This variable will output the string defined on post question: 4216 used for defining the code for an internal rectangle probing cycle using a 5 point method.
Example String Values are:
|
Mill Job |
This variable will output the string defined on post question: 4217 used for defining the code for line probing cycle.
Example String Values are:
|
Mill Job |
This variable will output the string defined on post question: 4218 used for defining the code for a surface probing cycle.
Example String Values are:
|
Mill Job |
This variable will output the string defined on post question: 4219 used for defining the code for web probing cycle where the web is on an angle and not aligned with an axis.
Example String Values are:
|
Mill Job |
This variable will output the string defined on post question: 4220 used for defining the code for pocket probing cycle where the pocket is on an angle and not aligned with an axis.
Example String Values are:
|
Mill Job |
This variable will output the string defined on post question: 4221 used for defining the code for probing on a 4th axis
Example String Values are:
|
Mill Job |
This variable will output the string defined on post question: 4222. used for defining the code for probing on a 4th axis
Example String Values are:
|
Mill Job |
This variable will output the string defined on post question: 4223. used for defining the code for a Pitch Circle Diameter Boss type probing cycle.
Example String Values are:
|
Mill Job |
This variable will output the string defined on post question: 4224. used for defining the code for a Pitch Circle Diameter Bore type probing cycle.
Example String Values are:
|
Mill Job |
This variable will output the string defined on post question: 4225. used for defining the code for a surface probing cycle where the surfaces is on an angle.
Example String Values are:
|
Probing measure cycle parameters
Mill Job |
This variable will output the string defined on post question: 4250. used for defining the prefix for the X axis position moves when probing.
Example String Values are:
|
Mill Job |
This variable will output the string defined on post question: 4251. used for defining the prefix for the Y axis position moves when probing.
Example String Values are:
|
Mill Job |
This variable will output the string defined on post question: 4252. used for defining the prefix for the Z axis position moves when probing.
Example String Values are:
|
Mill Job |
This variable will output the string defined on post question: 4253. used for defining the prefix for the bore and boss diameter parameter when probing.
Used In:
Example String Values are:
|
Mill Job |
This variable will output the string defined on post question: 4254. used for defining the prefix for the angle parameter when probing.
Used In:
Example String Values are:
|
Mill Job |
This variable will output the string defined on post question: 4255. used for defining the prefix for the angle parameter when probing.
Used In:
Example String Values are:
|
Mill Job |
This variable will output the string defined on post question: 4256. used for defining the prefix for the angle parameter when probing.
Used In:
Example String Values are:
|
Mill Job |
This variable will output the string defined on post question: 4257. used for defining the prefix for the angle parameter when probing.
Used In:
Example String Values are:
|
Mill Job |
This variable will output the string defined on post question: 4258. used for defining the prefix for the distance parameter when probing.
Used In:
Example String Values are:
|
Mill Job |
This variable will output the string defined on post question: 4259. used for defining the prefix for the X distance parameter when corner probing.
Used In:
Example String Values are:
|
Mill Job |
This variable will output the string defined on post question: 4260. used for defining the prefix for the Y distance parameter when corner probing.
Used In:
Example String Values are:
|
Mill Job |
This variable will output the string defined on post question: 4261. used for defining the prefix for the second X distance parameter when corner probing.
Used In:
Example String Values are:
|
Mill Job |
This variable will output the string defined on post question: 4262. used for defining the prefix for the second Y distance parameter when corner probing.
Used In:
Example String Values are:
|
Mill Job |
This variable will output the string defined on post question: 4263. used for defining the prefix for the X distance parameter in 4th axis probing.
Used In:
Example String Values are:
|
Mill Job |
This variable will output the string defined on post question: 4264. used for defining the prefix for the Y distance parameter in 4th axis probing.
Used In:
Example String Values are:
|
Mill Job |
This variable will output the string defined on post question: 4265. used for defining the prefix for the X length in rectangle probing.
Used In:
Example String Values are:
|
Mill Job |
This variable will output the string defined on post question: 4266. used for defining the prefix for the Y length in rectangle probing.
Used In:
Example String Values are:
|
Mill Job |
This variable will output the string defined on post question: 4267. used for defining the prefix for the Z measure position parameter in a Pitch Circle Diameter Bore cycle.
Used In:
Example String Values are:
|
Mill Job |
This variable will output the string defined on post question: 4268. used for defining the prefix for the face for 2 measurements parameter in the rectangle probing cycle.
Used In:
Example String Values are:
|
Mill Job |
This variable will output the string defined on post question: 4269. used for defining the prefix for the P2 & P4 measure position parameters in the rectangle probing cycle.
Used In:
Example String Values are:
|
Mill Job |
This variable will output the string defined on post question: 4270. used for defining the prefix for the distance between 2 points in the rectangle probing cycle.
Used In:
Example String Values are:
|
Mill Job |
This variable will output the string defined on post question: 4271. used for defining the second distance parameter in rectangle probing cycle.
Used In:
Example String Values are:
|
Mill Job |
This variable will output the string defined on post question: 4272. used for defining the probe surface output parameter.
Used In:
Example String Values are:
|
Mill Job |
This variable will output the string defined on post question: 4273. used for defining the 4th axis probing type parameter.
Used In:
Example String Values are:
|
Mill Job |
This variable will output the string defined on post question: 4274. used for defining the pitch circle diameter parameter in PCD cycles.
Used In:
Example String Values are:
|
Mill Job |
This variable will output the string defined on post question: 4275. used for defining the number of features in PCD cycles.
Used In:
Example String Values are:
|
Optional Parameters
Mill Job |
This variable will output the string defined on post question: 4276. used for defining the angle tolerance parameter in probing cycles.
Used In:
Example String Values are:
|
Mill Job |
This variable will output the string defined on post question: 4277. used for defining the probe experience value parameter in probing cycles.
Used In:
Example String Values are:
|
Mill Job |
This variable will output the string defined on post question: 4278. used for defining the probe feedback parameter in probing cycles.
Example String Values are:
|
Mill Job |
This variable will output the string defined on post question: 4279. used for defining the tolerance value of feature dimensioning in probing cycle.
Example String Values are:
|
Mill Job |
This variable will output the string defined on post question: 4280. used for defining the true position tolerance of a feature in probing cycle.
Example String Values are:
|
Mill Job |
This variable will output the string defined on post question: 4281. used for defining the probe overtravel distance in probing. (Default when excluded is 4mm in Z axis, and 10mm in X/Y axes.
Example String Values are:
|
Mill Job |
This variable will output the string defined on post question: 4282. used for defining the incremental distance for external features prior to Z moves. Default distance is 5mm.
Example String Values are:
|
Mill Job |
This variable will output the string defined on post question: 4283. used for defining the work offset that is to be updated (S1-S6 for G54-G59, S101-S400 for additional offsets.
Example String Values are:
|
Mill Job |
This variable will output the string defined on post question: 4284. used for defining the tool offset that is to be updated.
Example String Values are:
|
Mill Job |
This variable will output the string defined on post question: 4285. used for defining the upper tolerance limit used in tool setting.
Example String Values are:
|
Mill Job |
This variable will output the string defined on post question: 4286. used for defining the null band used in tool setting. (Tolerance limit for adjusting tool offset)
Example String Values are:
|
Mill Job |
This variable will output the string defined on post question: 4287. used for printing the output data (W1 or W2)
Example String Values are:
|
Mill Job |
This variable will output the string defined on post question:4288. used for opening the print port on the machine.
Example String Values are:
NOTES: Fanuc and Mazak need to open and close the port with the probe on/off command before any cycles that use print. Siemens, Okuma, and Haas do not need the extra parameter as they do this automatically.
The way the probe_print_open and probe_print_close variables work: The probe_print_open will open the port for the first cycle that uses print in the program, and the probe_print_close will close the port after the last probe cycle using print in the program.
These variables are intended to be used in the 4000. Probe On and 4001. Probe Off postblocks. |
Mill Job |
This variable will output the string defined on post question: 4289. used for closing the print port on the machine.
Example String Values are:
NOTES: Fanuc and Mazak need to open and close the port with the probe on/off command before any cycles that use print. Siemens, Okuma, and Haas do not need the extra parameter as they do this automatically.
The way the probe_print_open and probe_print_close variables work: The probe_print_open will open the port for the first cycle that uses print in the program, and the probe_print_close will close the port after the last probe cycle using print in the program.
These variables are intended to be used in the 4000. Probe On and 4001. Probe Off postblocks. |
Contact Tool Setter Cycle Variables
Mill Job |
This variable will output the string defined on post question: 4400. used for defining the automatic tool length cycle.
Example String Values are:
|
Mill Job |
This variable will output the string defined on post question: 4401. used for defining the automatic tool diameter cycle.
Example String Values are:
|
Mill Job |
This variable will output the string defined on post question: 4402. used for defining the automatic tool length and diameter cycle.
Example String Values are:
|
Mill Job |
This variable will output the string defined on post question: 4403. used for defining the automatic tool length up cycle.
Example String Values are:
|
Mill Job |
This variable will output the string defined on post question: 4404. used for defining the broken tool detection cycle.
Example String Values are:
|
Mill Job |
This variable will output the string defined on post question: 4405. used for defining the manual length cycle.
Example String Values are:
|
Mill Job |
This variable will output the string defined on post question: 4406. used for defining the manual diameter cycle.
Example String Values are:
|
Mill Job |
This variable will output the string defined on post question: 4407. used for defining the thermal compensation cycle.
Example String Values are:
|
Contact Tool Setter Cycle Parameter Variables
Mill Job |
This variable will output the string defined on post question: 4420. used for defining the measurement type in a CTS cycle.
Example String Values are:
|
Mill Job |
This variable will output the string defined on post question: 4421. used for defining the tool diameter in a CTS cycle. NOTE: This forces the rotation of the tool on some machines.
Example String Values are:
|
Mill Job |
This variable will output the string defined on post question: 4422. used for defining the tool length tolerance value in CTS cycles.
Example String Values are:
|
Mill Job |
This variable will output the string defined on post question: 4423. used for defining the length experience value in CTS cycles.
Example String Values are:
|
Mill Job |
This variable will output the string defined on post question: 4424. used for defining the tool out of tolerance value in CTS cycles.
Example String Values are:
|
Mill Job |
This variable will output the string defined on post question: 4425. used for defining the overtravel parameter value in CTS cycles.
Example String Values are:
|
Mill Job |
This variable will output the string defined on post question: 4426. used for defining the tool offset parameter value in CTS cycles.
Example String Values are:
|
Mill Job |
This variable will output the string defined on post question: 4427. used for defining the tool length parameter value in CTS cycles.
Example String Values are:
|
Mill Job |
This variable will output the string defined on post question: 4428. used for defining the tool offset parameter value for Type A offset tables in CTS cycles.
Example String Values are:
|
Mill Job |
This variable will output the string defined on post question: 4429. used for defining the diameter experience value in CTS cycles.
Example String Values are:
|
Mill Job |
This variable will output the string defined on post question: 4430. used for defining the extra z clearance parameter value in CTS cycles.
Example String Values are:
|
Mill Job |
This variable will output the string defined on post question: 4431. used for defining the Z axis measure position parameter value in CTS cycles.
Example String Values are:
|
Mill Job |
This variable will output the string defined on post question: 4432. used for defining the incremental radial distance parameter value in the feed up cycle. .
Example String Values are:
|
Mill Job |
This variable will output the string defined on post question: 4433. used for defining the rapid position parameter in the Broken Tool cycle.
Example String Values are:
|
Mill Job |
This variable will output the string defined on post question: 4434. used for defining the clearance position parameter in the Broken Tool cycle.
Example String Values are:
|
Mill Job |
This variable will output the string defined on post question: 4435. used for defining the thermal comp cycle type parameter.
Example String Values are:
|
Mill Job |
This variable will output the string defined on post question: 4436. used for defining the thermal comp measure position parameter.
Example String Values are:
|
Mill Job |
This variable will output the string defined on post question: 4437. used for defining the thermal compX storage location parameter.
Example String Values are:
|
Mill Job |
This variable will output the string defined on post question: 4438. used for defining the thermal comp Y storage location parameter.
Example String Values are:
|
Mill Job |
This variable will output the string defined on post question: 4439. used for defining the thermal compZ storage location parameter.
Example String Values are:
|
Mill Job |
This variable will output the string defined on post question: 4440. used for defining the overtravel distance and radial clearance.
Example String Values are:
|
Non-Contact Tool Setter Cycle Variables
Mill Job |
This variable will output the string defined on post question: 4500. used for defining the tool length cycle for NCTS.
Example String Values are:
|
Mill Job |
This variable will output the string defined on post question: 4501. used for defining the tool diameter cycle for NCTS.
Example String Values are:
|
Mill Job |
This variable will output the string defined on post question: 4502. used for defining the tool length and diameter cycle for NCTS.
Example String Values are:
|
Mill Job |
This variable will output the string defined on post question: 4503. used for defining the cutting edge cycle for NCTS.
Example String Values are:
|
Mill Job |
This variable will output the string defined on post question: 4504. used for defining the broken tool plunge cycle for NCTS.
Example String Values are:
|
Mill Job |
This variable will output the string defined on post question: 4505. used for defining the broken tool solid tool cycle for NCTS.
Example String Values are:
|
Mill Job |
This variable will output the string defined on post question: 4506. used for defining radius profile checking cycle for NCTS.
Example String Values are:
|
Mill Job |
This variable will output the string defined on post question: 4507. used for defining linear profile checking cycle for NCTS.
Example String Values are:
|
Mill Job |
This variable will output the string defined on post question: 4508. used for defining full thermal compensation cycle for NCTS.
Example String Values are:
|
Mill Job |
This variable will output the string defined on post question: 4509. used for defining spindle thermal compensation cycle for NCTS.
Example String Values are:
|
Mill Job |
This variable will output the string defined on post question: 4510. used for defining radial thermal compensation cycle for NCTS.
Example String Values are:
|
Mill Job |
This variable will output the string defined on post question: 4511. used for defining the corner radius measure cycle for NCTS.
Example String Values are:
|
Non-Contact Tool Setter Cycle Parameter Variables
Mill Job |
This variable will output the string defined on post question: 4550. used for defining the prefix for the measurement type parameter in NTS cycles.
Example String Values are:
|
Mill Job |
This variable will output the string defined on post question: 4551. used for defining the prefix for the tool length tolerance parameter in NTS cycles.
Example String Values are:
|
Mill Job |
This variable will output the string defined on post question: 4552. used for defining the prefix for the length experience parameter in NTS cycles.
Example String Values are:
|
Mill Job |
This variable will output the string defined on post question: 4553. used for defining the prefix for the out of tolerance parameter in broken NTS cycles.
Example String Values are:
|
Mill Job |
This variable will output the string defined on post question: 4554. used for defining the prefix for the overtravel parameter in NTS cycles.
Example String Values are:
|
Mill Job |
This variable will output the string defined on post question: 4555. used for defining the prefix for the spindle speed parameter in NTS cycles.
Example String Values are:
|
Mill Job |
This variable will output the string defined on post question: 4556. used for defining the prefix for the tool offset parameter in NTS cycles.
Example String Values are:
|
Mill Job |
This variable will output the string defined on post question: 4557. used for defining the prefix for the radial step-over parameter in NTS cycles.
Example String Values are:
|
Mill Job |
This variable will output the string defined on post question: 4558. used for defining the prefix for the solid tool parameter in NTS cycles.
Example String Values are:
|
Mill Job |
This variable will output the string defined on post question: 4559. used for defining the cutter edge parameter in NTS cycles. For when there are parts o f the tool or cutter edge, or when you want to use a slitting saw.
Example String Values are:
|
Mill Job |
This variable will output the string defined on post question: 4560. used for defining the prefix for the diameter offset number parameter in NTS cycles.
Example String Values are:
|
Mill Job |
This variable will output the string defined on post question: 4561. used for defining the prefix for the diameter tolerance parameter in NTS cycles.
Example String Values are:
|
Mill Job |
This variable will output the string defined on post question: 4562. used for defining the prefix for the step distance parameter in radial measure NTS cycles.
Example String Values are:
|
Mill Job |
This variable will output the string defined on post question: 4563. used for defining the prefix for the radius/diameter experience parameter NTS cycles.
Example String Values are:
|
Mill Job |
This variable will output the string defined on post question: 4564. used for defining the prefix for the tool diameter parameter NTS cycles.
Example String Values are:
|
Mill Job |
This variable will output the string defined on post question: 4565. used for defining the prefix for the search distance for high spot parameter NTS cycles.
Example String Values are:
|
Mill Job |
This variable will output the string defined on post question: 4566. used for defining the prefix for the measure height parameter NTS cycles.
Example String Values are:
|
Mill Job |
This variable will output the string defined on post question: 4567. used for defining the prefix for the number of cutting edges parameter NTS cycles.
Example String Values are:
|
Mill Job |
This variable will output the string defined on post question: 4568. used for defining the prefix for the feed per rev parameter NTS cycles.
Example String Values are:
|
Mill Job |
This variable will output the string defined on post question: 4569. used for defining the prefix for the run-out tolerance parameter NTS cycles.
Example String Values are:
|
Mill Job |
This variable will output the string defined on post question: 4570. used for defining the prefix for the safety plane parameter NTS cycles.
Example String Values are:
|
Mill Job |
This variable will output the string defined on post question: 4571. used for defining the prefix for the start angle for profile checking parameter NTS cycles.
Example String Values are:
|
Mill Job |
This variable will output the string defined on post question: 4572. used for defining the prefix for the end angle for profile checking parameter NTS cycles.
Example String Values are:
|
Mill Job |
This variable will output the string defined on post question: 4573. used for defining the prefix for the profile checking height parameter NTS cycles.
Example String Values are:
|
Mill Job |
This variable will output the string defined on post question: 4574. used for defining the prefix for the profile checking linear distance parameter NTS cycles.
Example String Values are:
|
Mill Job |
This variable will output the string defined on post question: 4575. used for defining the prefix for the profile checking radial distance parameter NTS cycles.
Example String Values are:
|
Mill Job |
This variable will output the string defined on post question: 4576. used for defining the prefix for the work offset in thermal checking parameter NTS cycles.
Example String Values are:
|
Mill Job |
This variable will output the string defined on post question: 4577. used for defining the prefix for the tool length in thermal checking parameter NTS cycles.
Example String Values are:
|
Mill Job |
This variable will output the string defined on post question: 4578. used for defining the prefix for the corner radius parameter NTS cycles.
Example String Values are:
|
Mill Job |
This variable will output the string defined on post question: 4579. used for defining the prefix for the corner measure number of touches parameter NTS cycles.
Example String Values are:
|
Mill Job |
This variable will output the string defined on post question: 4580. used for defining the prefix for the corner measure radial measure option parameter NTS cycles.
Example String Values are:
|
Scripting Specific APIs
The follow section of API’s are specific to post scripting and the API’s needed to add functionality to the package.
Mill Turn Job |
Used to determine if wrapping is used for current operation.
API: boolean MILLTURN_IsWrappingOperation() |
Mill Turn Job |
Used to determine if active drilling operation is cross drilling.
API: boolean MILLTURN_IsCrossDrill() |
Mill Job |
Used to determine if current operation is on an index system.
API: boolean MILL_IsOperationOnIndex() boolean MILLTURN_IsOperationOnIndex() |
Mill Turn Job |
Lathe Job |
Returns the feature type for Lathe Features.
0 = OD 1 = ID 2 = Front Face 3 = Back Face
API: short LATHE_GetFeatureSubType() |
Mill Turn Job |
Lathe Job |
Returns the region defined on the Feature page of turning features.
Region = Return Value 1 = 1 2 = 2
API: short LATHE_GetLatheRegion() |
Mill Turn Job |
Mill Turn Job |
Used to return the string value from custom defined string blocks 2400-2499
API: string GetStringOfBlock(long BlockID) |
Mill Turn Job |
Used to return the boolean value from block API: string GetBoolOfBlock(long BlockID) |
Mill Turn Job |
Used to return the Integer value from custom defined integer blocks 2200-2299
API: string GetIntegerOfBlock(long BlockID) |
Mill Turn Job |
Used to return the Double value from custom defined double blocks 2300-2399
API: string GetDoubleOfBlock(long BlockID) |
Mill Job |
Sets the current rapid location for the Z Axis using a Double variable
API: MILL_SetZRapid(variable_name) |
Mill Turn Job
|
Mill Job |
Sets the current feed location for the X Axis using a Double variable
API: MILL_SetXFeed(variable_name) |
Mill Turn Job |
Mill Job |
Sets the current feed location for the Y Axis using a Double variable
API: MILL_SetYFeed(variable_name) |
Mill Turn Job |
Mill Job |
Sets the current feed location for the Z Axis using a Double variable
API: MILL_SetZFeed(variable_name) |
Mill Turn Job |
Mill Job |
Sets the previous feed location for the X Axis using a Double variable
API: MILL_SetPreviousXFeed(variable_name) |
Mill Turn Job |
Mill Job |
Sets the previous feed location for the Y Axis using a Double variable
API: MILL_SetPreviousYFeed(variable_name) |
Mill Turn Job |
Mill Job |
Sets the previous feed location for the Z Axis using a Double variable
API: MILL_SetPreviousZFeed(variable_name) |
Mill Turn Job |
Mill Job |
Returns the relative X coordinate for the center of an arc.
API: double MILL_GetArcRelCenterX() |
Mill Turn Job |
Mill Job |
Returns the relative Y coordinate for the center of an arc.
API: double MILL_GetArcRelCenterY() |
Mill Turn Job |
Mill Job |
Returns the relative Z coordinate for the center of an arc.
API: double MILL_GetArcRelCenterZ() |
Mill Turn Job |
Mill Job |
Returns the sweep of the current arc in radians.
API: double MILL_GetCurrentArcAngle() |
Mill Turn Job |
Mill Job |
Returns the length of the current arc.
API: double MILL_GetCurrentArcLength() |
Mill Turn Job |
Mill Job |
Returns the direction of the current arc entity. 2 = CW 3 = CCW
API: short MILL_GetArcDir() |
Mill Turn Job |
Mill Job |
V25 Build 895 and later: Returns the sweep of an arc in degrees.
V25 Build 769 and earlier: Returns the sweep of an arc in Radians. To get degrees, the value must be multiplied by 180 and divided by pi.
API: double MILL_GetArcAngleDegrees() |
Mill Turn Job |
Mill Job |
Returns the current machining plane for arcs(i.e G17, G18, G19). The number returns from this function is a reference to the plane and not the actual plane designation.
0 = XY Plane 1 = YZ Plane 2 = XZ Plane
API: short MILL_GetArcMachiningPlane() |
Mill Turn Job |
Mill Job |
Returns the current index angle for the rotational axis. This returns the user-input value from the Rotary Angle option within the feature.
API: double MILL_GetRotaryIndexAngle() |
Mill Turn Job |
Mill Job |
Returns the previous rotational index angle
API: double MILL_GetPrevRotaryIndexAngle() |
Mill Turn Job |
Mill Job |
Returns the clearance distance for rotational index moves.
API: double MILL_GetRotaryIndexClearance() |
Mill Turn Job |
Mill Job |
Returns the previous angle of the rotational axis for wrapping, around the X axis.
API: double MILL_GetPreviousXAngle() |
Mill Turn Job |
Mill Job |
Returns the previous angle of the rotational axis for wrapping, around the Y axis.
API: double MILL_GetPreviousYAngle() |
Mill Turn Job |
Mill Job |
Returns the current index angle of the second rotary axis.
API: double MILL_GetSecondRotaryIndexAngle() |
Mill Turn Job |
Mill Job |
Returns the previous index angle of the second rotary axis.
API: double MILL_GetPrevSecondRotaryIndexAngle() |
Mill Turn Job |
Mill Job |
Returns the current index angle of the third rotary axis.
API: double MILL_GetThirdRotaryIndexAngle() |
Mill Turn Job |
Mill Job |
Returns the previous index angle of the third rotary axis.
API: double MILL_GetPrevThirdRotaryIndexAngle() |
Mill Turn Job |
Mill Job |
Returns the previous value for the primary axis of rotation.
API: double MILL_Get_PrevPRot() |
Mill Turn Job |
Mill Job |
Returns the previous value for the secondary axis of rotation.
API: double MILL_Get_PrevSRot() |
Mill Turn Job |
Mill Job |
Returns the value for the I vector of the toolpath position.
API: double MILL_Get_IVec() |
Mill Turn Job |
Mill Job |
Returns the previous value for the I vector of the toolpath position.
API: double MILL_Get_PrevIVec() |
Mill Turn Job |
Mill Job |
Returns the value for the J vector of the toolpath position.
API: double MILL_Get_JVec() |
Mill Turn Job |
Mill Job |
Returns the previous value for the J vector of the toolpath position.
API: double MILL_Get_PrevJVec() |
Mill Turn Job |
Mill Job |
Returns the value for the K vector of the toolpath position.
API: double MILL_Get_KVec() |
Mill Turn Job |
Mill Job |
Returns the previous value for the K vector of the toolpath position.
API: double MILL_Get_PrevKVec() |
Mill Turn Job |
Mill Job |
Returns the status of the primary rotary axis clamp. 0 = Not Clamped 1 = Clamped
API: short MILL_Get_PClampStatus() |
Mill Job |
Returns the status of the secondary rotary axis clamp. 0 = Not Clamped 1 = Clamped
API: short MILL_Get_SClampStatus() |
Mill Job |
Returns the direction of the primary rotation axis.
0 = Forward 1 = Reverse
API: short MILL_Get_PRotDirection() |
Mill Turn Job |
Mill Job |
Returns the direction of the secondary rotation axis.
0 = Forward 1 = Reverse
API: short MILL_Get_SRotDirection() |
Mill Turn Job |
Mill Job |
Returns the (Top of Feature + Rapid Plane) value to give the return height for the feature in relation to the machining origin.
API: double MILL_ReturnHeightFeature() |
Mill Turn Job |
Mill Job |
Returns the (Top of Stock + Clearance Plane) value to give the return height for the feature in relation to the machining origin.
API: double MILL_ReturnHeightStock() |
Mill Turn Job |
Mill Job |
Returns the user-specified pitch of the thread in tapping.
API: double MILL_GetThreadPitch() |
Mill Turn Job |
Mill Job |
Returns 99 or 98 to a variable based on the value applied to line 516 in the post processor.
98 = G98 Mode 99 = G99 Mode
API: integer MILL_GetG98G99Mode() |
Mill Turn Job |
Mill Job |
Returns the return plane distance value.
API: double MILL_GetReturnPlaneDistance() |
Mill Turn Job |
Mill Job |
Returns the security plane distance value.
API: double MILL_GetSecurityPlaneDistance() |
Mill Turn Job |
Mill Job |
Returns the system comment for the current feature.
API: string MILL_GetSystemComment() |
Mill Turn Job |
Mill Job |
Returns the sequence number of the current line.
API: short MILL_GetSequenceNumber() |
Mill Turn Job |
Mill Job |
Returns the current operation type.
Drilling 100 = Center Drill 101 = Drill 102 = Tap 103 = Ream 104 = Boring 105 = Chamfer Drill 106 = Counterbore Drill 204 = Chamfer Mill 206 = Counterbore Mill
Milling 200 = Profile Rough 201 = Profile Finish 202 = Pocket 203 = Facing 204 = Chamfer Mill 205 = 2 Axis Plunge Rough 206 = Counterbore Mill 208 = Tapered Pocket (V-Carve Rough) 209 = 2 Axis Engraving 210 = Thread Mill 212 = Drag Knife 300 = Z Level Rough 301 = Z Level Finish 302 = Planar 303 = Spiral 304 = Radial 305 = 3 Axis Plunge Rough 306 = Advanced Rough 307 = Flatlands 308 = Equidistant 309 = Pencil 310 = 3 Axis Engrave Rough 311 = 3 Axis Engrave Finish 312 = V-Carve Finishing 400 = 4 Axis Rotary 500 = 5 Axis Toolpaths
API: short MILL_GetOperationType() |
Mill Turn Job |
Mill Job |
Returns the current drill cycle type. This function is used within the drill cycle blocks or the drill point blocks.
0 = Standard Drill 1 = Peck Drill 2 = Fast Peck/Chip Break 3 = Tap 4 = Bore 1 5 = Bore 2 6 = Bore 3/Back Bore 7 = Left Hand Tap 8 = Fine Bore
API: short MILL_GetDrillCycleType() |
Mill Turn Job |
Mill Job |
Returns the current contour number.
API: short MILL_GetCurrentContourNumber() |
Mill Turn Job |
Mill Job |
Returns the number of the entity currently being posted.
API: short MILL_GetCurrentContourEntityNumber() |
Mill Turn Job |
Mill Job |
Returns the first line number.
API: short MILL_GetFirstLineNumber() |
Mill Turn Job |
Mill Job |
Returns the current line number.
API: short MILL_GetCurrentLineNumber() |
Mill Turn Job |
Lathe Job |
Returns the current line number.
API: short LATHE_GetCurrentLineNumber() |
Mill Job |
Returns the current line number increment value
API: short MILL_GetLineNumberIncrement() |
Mill Turn Job |
Lathe Job |
Returns the current line number increment value
API: short LATHE_GetLineNumberIncrement() |
Mill Turn Job |
Lathe Job |
Returns the tool number based on this formula: Tool Number * 100 + Sequence Number Increment
API: short LATHE_GetLineNumberWithToolNumber() |
Mill Turn Job |
Lathe Job |
Returns the tool number based on this formula: Finish Tool Number * 100 + Sequence Number Increment
API: short LATHE_GetLineNumberWithFinishToolNumber() |
Mill Turn Job |
Lathe Job |
Returns the current operation type.
1001 = Face Rough 1002 = Turn Rough 1003 = Face Pattern Repeat 1004 = Turn Pattern Repeat 1005 = Face Basic Finish 1006 = Turn Basic Finish 1007 = Face Groove 1008 = Turn Groove 1009 = Face Groove Finish 1010 = Turn Groove Finish 1011 = Lathe Thread 1012 = Cut Off 1013 = Stock Feed
API: string LATHE_GetFeatureType() |
Mill Turn Job |
Lathe Job |
Returns a value that identifies the feature type.
1 = Turning Rough 2 = Turning Rough/Finish 3 = Face Rough 4 = Face Rough/Finish
API: short LATHE_GetCycleType() |
Mill Job |
Returns the top of feature value for the current feature.
API: double MILL_Get_TopOfPart() |
Mill Turn Job |
Mill Job |
Returns the feed plane value for the current feature.
API: double MILL_Get_FeedPlane() |
Mill Turn Job |
Mill Job |
Returns the workpiece name.
API: string MILL_GetWorkPieceName() |
Mill Turn Job |
Mill Job |
Returns wether the subprograms are ON or OFF.
0 = Do Not Output Subs 1 = Output Subs
API: short MILL_GetOutputSubPrograms() |
Mill Turn Job |
Mill Job |
Returns the global stock height for all operations in the CAM tree.
API: double MILL_GetGlobalStockHeight() |
Mill Turn Job |
Mill Job |
Returns the feature stock height for the current feature.
API: double MILL_GetFeatureStockHeight() |
Mill Turn Job |
Mill Job |
Returns the total number of profiles assigned to operations in the CAM tree.
API: short MILL_GetNumberOfContours() |
Mill Turn Job |
Mill Job |
Returns the total number of entities in a given shape.
API: short MILL_GetNumberOfContourEntities() |
Mill Turn Job |
Mill Job |
Returns the total number of operations in the program that is set to post. This API will not consider the operations that were patterned using toolpath pattern.
For versions V26 or earlier, there were 2 APIs MILL_GetNumberOfFeatures() & MILL_GetCurrentFeatureNumber() which are deprecated and when used in versions after V26 will return the same value as the MILL_GetNumberOfOperations() API
API: short MILL_GetNumberOfOperations() |
Mill Turn Job |
Mill Job |
Returns the tool offset number for the current operation.
API: short MILL_GetToolOffsetNumber() |
Mill Turn Job |
Mill Job |
Returns the offset number for the next tool in the program. If this function is used on the last tool in the program, it returns the offset number for the first tool in the program.
API: short MILL_GetNextToolOffsetNumber() |
Mill Turn Job |
Mill Job |
Returns the type of the current tool.
Drilling 1 = Center Drill 2 = Drill 4 = Spiral Tap 5 = Point Tap 6 = Hand Tap 7 = Rolling Tap 8 = Chamfer Tool 9 = Counterbore Drill 13 = Ream 21 = Boring Tool
Milling 15 = Endmill Rough 16 = Endmill Finish 19 = Chamfer Mill 22 = Thread Mill 23 = V-Tool 24 = Tapered Endmill 26 = T-Cutter 30 = Dove Mill 31 = Lollipop 25 = Corner Round 27 = Laser 28 = Plasma 29 = Waterjet 33 = Drag Knife API: short MILL_Get_ToolType() |
Mill Turn Job |
Mill Job |
Returns what direction the system compensation is set to for a profile feature.
0 = None 1 = Left 2 = Right
API: short MILL_GetSysOffsetSide() |
Mill Turn Job |
Mill Job |
Returns the Lead-In type for the current operation.
0 = Circular for all 2 and 3 Axis feature, Except for Thread. Thread = Helical. 1 = Circular for Thread 2 = Right Angle 3 = Parallel for 2 Axis features, Tangent for 3 Axis features 6 = Vertical/Plunge 7 = Horizontal 8 = Parallel for all 3 Axis features.
API: short MILL_GetLeadinType() |
Mill Turn Job |
Mill Job |
Returns the Lead-Out type for the current operation.
0 = Circular for all 2 and 3 Axis feature, Except for Thread. Thread = Helical. 1 = Circular for Thread 2 = Right Angle 3 = Parallel for 2 Axis features, Tangent for 3 Axis features 6 = Vertical/Plunge 7 = Horizontal 8 = Parallel for all 3 Axis features.
API: short MILL_GetLeadoutType() |
Mill Turn Job |
Mill Job |
Returns the amount that the current path is offset from the contour.
API: double MILL_GetOffsetAmount() |
Mill Turn Job |
Mill Job |
Returns the current length offset mode. 0 = No TCP 1 = TCP
API: short MILL_Get_LengthOffsetMode() |
Mill Turn Job |
Mill Job |
Returns the previous length offset mode. 0 = No TCP 1 = TCP
API: short MILL_Get_PrevLengthOffsetMode() |
Mill Turn Job |
Mill Job |
Returns the name of the work offset as specified on lines 901 through 999.
API: string MILL_GetWorkCoordName() |
Mill Turn Job |
Mill Job |
Returns the work offset number (1, 2, 3, etc.). This function returns from a 0 based index, so choosing Work Offset 1 in the software returns 0 in the API.
API: short MILL_GetPatternWorkCoordNumber() |
Mill Turn Job |
Mill Job |
Returns the name of the work offset as specified on lines 901 through 999.
API: string MILL_GetPatternWorkCoordName() |
Mill Turn Job |
Mill Job |
Returns a value to determine what move list coordinates options is selected in the Multiaxis Posting page of the Current Settings dialog box.
0 = Absolute (Without TLC) – No Machine Compensation 1 = Absolute (With TLC) – Machine Compensation in Z Only 2 = New Mode – Machine Hybrid Compensation (Mixed Mode) 3 = Relative – Part Based (Common for TCP)
API: short MILL_OutputCoordinateMode() |
Mill Turn Job |
Mill Job |
Returns a value to determine the Machining Order that is selected in the software.
1 = Individual Feature 2 = Individual Tool Per Machine Setup 3 = Individual Tool
API: short MILL_GetMachiningOrder() |
Mill Turn Job |
Mill Turn Job |
Used to direct the posting engine to execute the postlines found in the specified postblock. The “xxxx” is the block number for the postblock to be executed. |
Mill Job |
Returns a string converted from a double value formatted by post blocks 414 or 415 depending on the unit.
API: void MILL_MakeRealString(double var) |
Mill Turn Job |
Mill Job |
Returns a string converted from a double value formatted by post blocks 414 or 415 depending on the unit. The prefix is added to the string from post question: 684.
API: void MILL_MakeXString(double var) |
Mill Turn Job |
Mill Job |
Returns a string converted from a double value formatted by post blocks 414 or 415 depending on the unit. The prefix is added to the string from post question: 685.
API: void MILL_MakeYString(double var) |
Mill Turn Job |
Mill Job |
Returns a string converted from a double value formatted by post blocks 414 or 415 depending on the unit. The prefix is added to the string from post question: 686.
API: void MILL_MakeZString(double var) |
Mill Turn Job |
Mill Job |
Returns the number of integer memory locations.
API: short MILL_GetNumberOfIntMemoryLoc() |
Mill Turn Job |
Mill Job |
Returns the number of double memory locations.
API: short MILL_GetNumberOfDoubleMemoryLoc() |
Mill Turn Job |
Mill Job |
Returns the number of string memory locations.
API: short MILL_GetNumberOfStringMemoryLoc() |
Mill Turn Job |
Return Functions
Mill Job |
Returns a single line of the posted code to a string variable. This is used in program block 2102, and block 540 must be set to “y”. This allows the user to modify the code after it has been processed through the posting engine.
API: string MILL_GetOutputLineToNcFile() |
Mill Turn Job |
Mill Job |
Returns a single line of the posted code to a string variable. This is used in program block 2102, and block 540 must be set to “y”. This allows the user to modify the code after it has been processed through the posting engine.
API: string LATHE_GetOutputLineToNcFile() |
Mill Turn Job |
Mill Job |
Sets the string to be output in the posted program followed by a carriage return/line feed.
API: void MILL_SetOutputLineToNcFile(string var) |
Mill Turn Job |
Mill Job |
Sets the string to be output in the posted program followed by a carriage return/line feed.
API: void LATHE_SetOutputLineToNcFile(string var) |
Mill Turn Job |
Output String Functions
Mill Job |
Outputs a string into the posted program with a line feed character.
API: void MILL_OutputText(string var) void MILL_OutputText(“Sample String”) |
Mill Turn Job |
Lathe Job |
Outputs a string into the posted program with a line feed character.
API: void LATHE_OutputText(string var) void LATHE_OutputText(“Sample String”) |
Mill Turn Job |
Advanced Posting Page Functions
Advanced Posting Pages for Current Settings